|
| 1 | +Binding for Maxim MAX77802 regulators |
| 2 | + |
| 3 | +This is a part of device tree bindings of MAX77802 multi-function device. |
| 4 | +More information can be found in bindings/mfd/max77802.txt file. |
| 5 | + |
| 6 | +The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) |
| 7 | +regulators that can be controlled over I2C. |
| 8 | + |
| 9 | +Following properties should be present in main device node of the MFD chip. |
| 10 | + |
| 11 | +Optional node: |
| 12 | +- regulators : The regulators of max77802 have to be instantiated |
| 13 | + under subnode named "regulators" using the following format. |
| 14 | + |
| 15 | + regulator-name { |
| 16 | + standard regulator constraints.... |
| 17 | + }; |
| 18 | + refer Documentation/devicetree/bindings/regulator/regulator.txt |
| 19 | + |
| 20 | +The regulator node name should be initialized with a string to get matched |
| 21 | +with their hardware counterparts as follow. The valid names are: |
| 22 | + |
| 23 | + -LDOn : for LDOs, where n can lie in ranges 1-15, 17-21, 23-30 |
| 24 | + and 32-35. |
| 25 | + example: LDO1, LDO2, LDO35. |
| 26 | + -BUCKn : for BUCKs, where n can lie in range 1 to 10. |
| 27 | + example: BUCK1, BUCK5, BUCK10. |
| 28 | +Example: |
| 29 | + |
| 30 | + max77802@09 { |
| 31 | + compatible = "maxim,max77802"; |
| 32 | + interrupt-parent = <&wakeup_eint>; |
| 33 | + interrupts = <26 0>; |
| 34 | + reg = <0x09>; |
| 35 | + #address-cells = <1>; |
| 36 | + #size-cells = <0>; |
| 37 | + |
| 38 | + regulators { |
| 39 | + ldo11_reg: LDO11 { |
| 40 | + regulator-name = "vdd_ldo11"; |
| 41 | + regulator-min-microvolt = <1900000>; |
| 42 | + regulator-max-microvolt = <1900000>; |
| 43 | + regulator-always-on; |
| 44 | + }; |
| 45 | + |
| 46 | + buck1_reg: BUCK1 { |
| 47 | + regulator-name = "vdd_mif"; |
| 48 | + regulator-min-microvolt = <950000>; |
| 49 | + regulator-max-microvolt = <1300000>; |
| 50 | + regulator-always-on; |
| 51 | + regulator-boot-on; |
| 52 | + }; |
| 53 | + }; |
0 commit comments