]>
Commit | Line | Data |
---|---|---|
0b8eebc0 | 1 | ACT88xx regulators |
cbfadd3d WY |
2 | ------------------- |
3 | ||
4 | Required properties: | |
0b8eebc0 | 5 | - compatible: "active-semi,act8846" or "active-semi,act8865" |
cbfadd3d WY |
6 | - reg: I2C slave address |
7 | ||
7a5f5d7b | 8 | Optional properties: |
8f73110f RP |
9 | - system-power-controller: Telling whether or not this pmic is controlling |
10 | the system power. See Documentation/devicetree/bindings/power/power-controller.txt . | |
7a5f5d7b | 11 | |
cbfadd3d WY |
12 | Any standard regulator properties can be used to configure the single regulator. |
13 | ||
14 | The valid names for regulators are: | |
0b8eebc0 BG |
15 | - for act8846: |
16 | REG1, REG2, REG3, REG4, REG5, REG6, REG7, REG8, REG9, REG10, REG11, REG12 | |
17 | - for act8865: | |
cbfadd3d WY |
18 | DCDC_REG1, DCDC_REG2, DCDC_REG3, LDO_REG1, LDO_REG2, LDO_REG3, LDO_REG4. |
19 | ||
20 | Example: | |
21 | -------- | |
22 | ||
23 | i2c1: i2c@f0018000 { | |
24 | pmic: act8865@5b { | |
25 | compatible = "active-semi,act8865"; | |
26 | reg = <0x5b>; | |
27 | status = "disabled"; | |
28 | ||
29 | regulators { | |
30 | vcc_1v8_reg: DCDC_REG1 { | |
31 | regulator-name = "VCC_1V8"; | |
32 | regulator-min-microvolt = <1800000>; | |
33 | regulator-max-microvolt = <1800000>; | |
34 | regulator-always-on; | |
35 | }; | |
36 | ||
37 | vcc_1v2_reg: DCDC_REG2 { | |
38 | regulator-name = "VCC_1V2"; | |
39 | regulator-min-microvolt = <1100000>; | |
40 | regulator-max-microvolt = <1300000>; | |
41 | regulator-suspend-mem-microvolt = <1150000>; | |
42 | regulator-suspend-standby-microvolt = <1150000>; | |
43 | regulator-always-on; | |
44 | }; | |
45 | ||
46 | vcc_3v3_reg: DCDC_REG3 { | |
47 | regulator-name = "VCC_3V3"; | |
48 | regulator-min-microvolt = <3300000>; | |
49 | regulator-max-microvolt = <3300000>; | |
50 | regulator-always-on; | |
51 | }; | |
52 | ||
53 | vddana_reg: LDO_REG1 { | |
54 | regulator-name = "VDDANA"; | |
55 | regulator-min-microvolt = <3300000>; | |
56 | regulator-max-microvolt = <3300000>; | |
57 | regulator-always-on; | |
58 | }; | |
59 | ||
60 | vddfuse_reg: LDO_REG2 { | |
61 | regulator-name = "FUSE_2V5"; | |
62 | regulator-min-microvolt = <2500000>; | |
63 | regulator-max-microvolt = <2500000>; | |
64 | }; | |
65 | }; | |
66 | }; | |
67 | }; |