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