| 1 | ACT88xx regulators |
| 2 | ------------------- |
| 3 | |
| 4 | Required properties: |
| 5 | - compatible: "active-semi,act8846" or "active-semi,act8865" or "active-semi,act8600" |
| 6 | - reg: I2C slave address |
| 7 | |
| 8 | Optional properties: |
| 9 | - system-power-controller: Telling whether or not this pmic is controlling |
| 10 | the system power. See Documentation/devicetree/bindings/power/power-controller.txt . |
| 11 | |
| 12 | Optional input supply properties: |
| 13 | - for act8600: |
| 14 | - vp1-supply: The input supply for DCDC_REG1 |
| 15 | - vp2-supply: The input supply for DCDC_REG2 |
| 16 | - vp3-supply: The input supply for DCDC_REG3 |
| 17 | - inl-supply: The input supply for LDO_REG5, LDO_REG6, LDO_REG7 and LDO_REG8 |
| 18 | SUDCDC_REG4, LDO_REG9 and LDO_REG10 do not have separate supplies. |
| 19 | - for act8846: |
| 20 | - vp1-supply: The input supply for REG1 |
| 21 | - vp2-supply: The input supply for REG2 |
| 22 | - vp3-supply: The input supply for REG3 |
| 23 | - vp4-supply: The input supply for REG4 |
| 24 | - inl1-supply: The input supply for REG5, REG6 and REG7 |
| 25 | - inl2-supply: The input supply for REG8 and LDO_REG9 |
| 26 | - inl3-supply: The input supply for REG10, REG11 and REG12 |
| 27 | - for act8865: |
| 28 | - vp1-supply: The input supply for DCDC_REG1 |
| 29 | - vp2-supply: The input supply for DCDC_REG2 |
| 30 | - vp3-supply: The input supply for DCDC_REG3 |
| 31 | - inl45-supply: The input supply for LDO_REG1 and LDO_REG2 |
| 32 | - inl67-supply: The input supply for LDO_REG3 and LDO_REG4 |
| 33 | |
| 34 | Any standard regulator properties can be used to configure the single regulator. |
| 35 | |
| 36 | The valid names for regulators are: |
| 37 | - for act8846: |
| 38 | REG1, REG2, REG3, REG4, REG5, REG6, REG7, REG8, REG9, REG10, REG11, REG12 |
| 39 | - for act8865: |
| 40 | DCDC_REG1, DCDC_REG2, DCDC_REG3, LDO_REG1, LDO_REG2, LDO_REG3, LDO_REG4. |
| 41 | - for act8600: |
| 42 | DCDC_REG1, DCDC_REG2, DCDC_REG3, SUDCDC_REG4, LDO_REG5, LDO_REG6, LDO_REG7, |
| 43 | LDO_REG8, LDO_REG9, LDO_REG10, |
| 44 | |
| 45 | Example: |
| 46 | -------- |
| 47 | |
| 48 | i2c1: i2c@f0018000 { |
| 49 | pmic: act8865@5b { |
| 50 | compatible = "active-semi,act8865"; |
| 51 | reg = <0x5b>; |
| 52 | status = "disabled"; |
| 53 | |
| 54 | regulators { |
| 55 | vcc_1v8_reg: DCDC_REG1 { |
| 56 | regulator-name = "VCC_1V8"; |
| 57 | regulator-min-microvolt = <1800000>; |
| 58 | regulator-max-microvolt = <1800000>; |
| 59 | regulator-always-on; |
| 60 | }; |
| 61 | |
| 62 | vcc_1v2_reg: DCDC_REG2 { |
| 63 | regulator-name = "VCC_1V2"; |
| 64 | regulator-min-microvolt = <1100000>; |
| 65 | regulator-max-microvolt = <1300000>; |
| 66 | regulator-suspend-mem-microvolt = <1150000>; |
| 67 | regulator-suspend-standby-microvolt = <1150000>; |
| 68 | regulator-always-on; |
| 69 | }; |
| 70 | |
| 71 | vcc_3v3_reg: DCDC_REG3 { |
| 72 | regulator-name = "VCC_3V3"; |
| 73 | regulator-min-microvolt = <3300000>; |
| 74 | regulator-max-microvolt = <3300000>; |
| 75 | regulator-always-on; |
| 76 | }; |
| 77 | |
| 78 | vddana_reg: LDO_REG1 { |
| 79 | regulator-name = "VDDANA"; |
| 80 | regulator-min-microvolt = <3300000>; |
| 81 | regulator-max-microvolt = <3300000>; |
| 82 | regulator-always-on; |
| 83 | }; |
| 84 | |
| 85 | vddfuse_reg: LDO_REG2 { |
| 86 | regulator-name = "FUSE_2V5"; |
| 87 | regulator-min-microvolt = <2500000>; |
| 88 | regulator-max-microvolt = <2500000>; |
| 89 | }; |
| 90 | }; |
| 91 | }; |
| 92 | }; |