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