xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/hwmon/maxim,max20730.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun$id: http://devicetree.org/schemas/hwmon/maxim,max20730.yaml#
6*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
7*4882a593Smuzhiyun
8*4882a593Smuzhiyuntitle: Maxim max20730
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunmaintainers:
11*4882a593Smuzhiyun  - Jean Delvare <jdelvare@suse.com>
12*4882a593Smuzhiyun  - Guenter Roeck <linux@roeck-us.net>
13*4882a593Smuzhiyun
14*4882a593Smuzhiyundescription: |
15*4882a593Smuzhiyun  The MAX20730 is a fully integrated, highly efficient switching regulator
16*4882a593Smuzhiyun  with PMBus for applications operating from 4.5V to 16V and requiring
17*4882a593Smuzhiyun  up to 25A (max) load. This single-chip regulator provides extremely
18*4882a593Smuzhiyun  compact, high efficiency power-delivery solutions with high-precision
19*4882a593Smuzhiyun  output voltages and excellent transient response.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun  Datasheets:
22*4882a593Smuzhiyun    https://datasheets.maximintegrated.com/en/ds/MAX20730.pdf
23*4882a593Smuzhiyun    https://datasheets.maximintegrated.com/en/ds/MAX20734.pdf
24*4882a593Smuzhiyun    https://datasheets.maximintegrated.com/en/ds/MAX20743.pdf
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunproperties:
27*4882a593Smuzhiyun  compatible:
28*4882a593Smuzhiyun    enum:
29*4882a593Smuzhiyun      - maxim,max20730
30*4882a593Smuzhiyun      - maxim,max20734
31*4882a593Smuzhiyun      - maxim,max20743
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun  reg:
34*4882a593Smuzhiyun    maxItems: 1
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun  vout-voltage-divider:
37*4882a593Smuzhiyun    description: |
38*4882a593Smuzhiyun      If voltage divider present at vout, the voltage at voltage sensor pin
39*4882a593Smuzhiyun      will be scaled. The properties will convert the raw reading to a more
40*4882a593Smuzhiyun      meaningful number if voltage divider present. It has two numbers,
41*4882a593Smuzhiyun      the first number is the output resistor, the second number is the total
42*4882a593Smuzhiyun      resistance. Therefore, the adjusted vout is equal to
43*4882a593Smuzhiyun      Vout = Vout * output_resistance / total resistance.
44*4882a593Smuzhiyun    $ref: /schemas/types.yaml#/definitions/uint32-array
45*4882a593Smuzhiyun    minItems: 2
46*4882a593Smuzhiyun    maxItems: 2
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunrequired:
49*4882a593Smuzhiyun  - compatible
50*4882a593Smuzhiyun  - reg
51*4882a593Smuzhiyun
52*4882a593SmuzhiyunadditionalProperties: false
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunexamples:
55*4882a593Smuzhiyun  - |
56*4882a593Smuzhiyun    i2c {
57*4882a593Smuzhiyun      #address-cells = <1>;
58*4882a593Smuzhiyun      #size-cells = <0>;
59*4882a593Smuzhiyun
60*4882a593Smuzhiyun      max20730@10 {
61*4882a593Smuzhiyun        compatible = "maxim,max20730";
62*4882a593Smuzhiyun        reg = <0x10>;
63*4882a593Smuzhiyun        vout-voltage-divider = <1000 2000>; // vout would be scaled to 0.5
64*4882a593Smuzhiyun      };
65*4882a593Smuzhiyun    };
66