1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mfd/maxim,max5970.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Regulator for MAX5970 Smart Switch from Maxim Integrated
10 - Patrick Rudolph <patrick.rudolph@9elements.com>
13 The smart switch provides no output regulation, but independent fault protection
14 and voltage and current sensing.
15 Programming is done through I2C bus.
18 https://datasheets.maximintegrated.com/en/ds/MAX5970.pdf
19 https://datasheets.maximintegrated.com/en/ds/MAX5978.pdf
36 Properties for four LEDS.
47 $ref: /schemas/leds/common.yaml#
48 unevaluatedProperties: false
55 additionalProperties: false
58 description: Supply of the first channel.
61 description: Supply of the second channel.
66 Properties for both hot swap control/switch.
70 $ref: /schemas/regulator/regulator.yaml#
73 shunt-resistor-micro-ohms:
75 The value of current sense resistor in microohms.
78 - shunt-resistor-micro-ohms
80 unevaluatedProperties: false
82 additionalProperties: false
100 additionalProperties: false
105 #address-cells = <1>;
108 compatible = "maxim,max5978";
110 vss1-supply = <&p3v3>;
114 shunt-resistor-micro-ohms = <12000>;
119 #address-cells = <1>;
124 default-state = "on";
129 default-state = "on";
137 #address-cells = <1>;
141 compatible = "maxim,max5970";
143 vss1-supply = <&p3v3>;
144 vss2-supply = <&p5v>;
148 shunt-resistor-micro-ohms = <12000>;
151 shunt-resistor-micro-ohms = <10000>;