diff options
| -rw-r--r-- | Documentation/devicetree/bindings/regulator/max1586-regulator.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/max1586-regulator.txt b/Documentation/devicetree/bindings/regulator/max1586-regulator.txt new file mode 100644 index 000000000000..c050c1744cb8 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/max1586-regulator.txt | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | Maxim MAX1586 voltage regulator | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: must be "maxim,max1586" | ||
| 5 | - reg: I2C slave address, usually 0x14 | ||
| 6 | - v3-gain: integer specifying the V3 gain as per datasheet | ||
| 7 | (1 + R24/R25 + R24/185.5kOhm) | ||
| 8 | - any required generic properties defined in regulator.txt | ||
| 9 | |||
| 10 | Example: | ||
| 11 | |||
| 12 | i2c_master { | ||
| 13 | max1586@14 { | ||
| 14 | compatible = "maxim,max1586"; | ||
| 15 | reg = <0x14>; | ||
| 16 | v3-gain = <1000000>; | ||
| 17 | |||
| 18 | regulators { | ||
| 19 | vcc_core: v3 { | ||
| 20 | regulator-name = "vcc_core"; | ||
| 21 | regulator-compatible = "Output_V3"; | ||
| 22 | regulator-min-microvolt = <1000000>; | ||
| 23 | regulator-max-microvolt = <1705000>; | ||
| 24 | regulator-always-on; | ||
| 25 | }; | ||
| 26 | }; | ||
| 27 | }; | ||
| 28 | }; | ||
