Beniamino Galvani | 0b8eebc | 2014-07-05 15:20:56 +0200 | [diff] [blame] | 1 | ACT88xx regulators |
Wenyou Yang | cbfadd3 | 2013-12-24 10:35:14 +0800 | [diff] [blame] | 2 | ------------------- |
| 3 | |
| 4 | Required properties: |
Beniamino Galvani | 0b8eebc | 2014-07-05 15:20:56 +0200 | [diff] [blame] | 5 | - compatible: "active-semi,act8846" or "active-semi,act8865" |
Wenyou Yang | cbfadd3 | 2013-12-24 10:35:14 +0800 | [diff] [blame] | 6 | - reg: I2C slave address |
| 7 | |
| 8 | Any standard regulator properties can be used to configure the single regulator. |
| 9 | |
| 10 | The valid names for regulators are: |
Beniamino Galvani | 0b8eebc | 2014-07-05 15:20:56 +0200 | [diff] [blame] | 11 | - for act8846: |
| 12 | REG1, REG2, REG3, REG4, REG5, REG6, REG7, REG8, REG9, REG10, REG11, REG12 |
| 13 | - for act8865: |
Wenyou Yang | cbfadd3 | 2013-12-24 10:35:14 +0800 | [diff] [blame] | 14 | DCDC_REG1, DCDC_REG2, DCDC_REG3, LDO_REG1, LDO_REG2, LDO_REG3, LDO_REG4. |
| 15 | |
| 16 | Example: |
| 17 | -------- |
| 18 | |
| 19 | i2c1: i2c@f0018000 { |
| 20 | pmic: act8865@5b { |
| 21 | compatible = "active-semi,act8865"; |
| 22 | reg = <0x5b>; |
| 23 | status = "disabled"; |
| 24 | |
| 25 | regulators { |
| 26 | vcc_1v8_reg: DCDC_REG1 { |
| 27 | regulator-name = "VCC_1V8"; |
| 28 | regulator-min-microvolt = <1800000>; |
| 29 | regulator-max-microvolt = <1800000>; |
| 30 | regulator-always-on; |
| 31 | }; |
| 32 | |
| 33 | vcc_1v2_reg: DCDC_REG2 { |
| 34 | regulator-name = "VCC_1V2"; |
| 35 | regulator-min-microvolt = <1100000>; |
| 36 | regulator-max-microvolt = <1300000>; |
| 37 | regulator-suspend-mem-microvolt = <1150000>; |
| 38 | regulator-suspend-standby-microvolt = <1150000>; |
| 39 | regulator-always-on; |
| 40 | }; |
| 41 | |
| 42 | vcc_3v3_reg: DCDC_REG3 { |
| 43 | regulator-name = "VCC_3V3"; |
| 44 | regulator-min-microvolt = <3300000>; |
| 45 | regulator-max-microvolt = <3300000>; |
| 46 | regulator-always-on; |
| 47 | }; |
| 48 | |
| 49 | vddana_reg: LDO_REG1 { |
| 50 | regulator-name = "VDDANA"; |
| 51 | regulator-min-microvolt = <3300000>; |
| 52 | regulator-max-microvolt = <3300000>; |
| 53 | regulator-always-on; |
| 54 | }; |
| 55 | |
| 56 | vddfuse_reg: LDO_REG2 { |
| 57 | regulator-name = "FUSE_2V5"; |
| 58 | regulator-min-microvolt = <2500000>; |
| 59 | regulator-max-microvolt = <2500000>; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
| 63 | }; |