Commit | Line | Data |
---|---|---|
a3408b7b WY |
1 | Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device |
2 | ||
3 | Required properties: | |
4 | - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt. | |
5 | ||
6 | Optional properties: | |
7 | - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high. | |
8 | If this property is missing, assume the VSEL pin is set to logic-low. | |
9 | ||
10 | Optional input supply properties: | |
11 | - vp1-supply: The input supply for REG_DCDC1 | |
12 | - vp2-supply: The input supply for REG_DCDC2 | |
13 | - vp3-supply: The input supply for REG_DCDC3 | |
14 | - inl45-supply: The input supply for REG_LDO1 and REG_LDO2 | |
15 | - inl67-supply: The input supply for REG_LDO3 and REG_LDO4 | |
16 | ||
17 | Any standard regulator properties can be used to configure the single regulator. | |
18 | ||
19 | The valid names for regulators are: | |
20 | REG_DCDC1, REG_DCDC2, REG_DCDC3, REG_LDO1, REG_LDO2, REG_LDO3, REG_LDO4. | |
21 | ||
22 | Example: | |
23 | pmic@5b { | |
24 | compatible = "active-semi,act8945a"; | |
25 | reg = <0x5b>; | |
26 | status = "okay"; | |
27 | ||
28 | active-semi,vsel-high; | |
29 | ||
30 | regulators { | |
31 | vdd_1v35_reg: REG_DCDC1 { | |
32 | regulator-name = "VDD_1V35"; | |
33 | regulator-min-microvolt = <1350000>; | |
34 | regulator-max-microvolt = <1350000>; | |
35 | regulator-always-on; | |
36 | }; | |
37 | ||
38 | vdd_1v2_reg: REG_DCDC2 { | |
39 | regulator-name = "VDD_1V2"; | |
40 | regulator-min-microvolt = <1100000>; | |
41 | regulator-max-microvolt = <1300000>; | |
42 | regulator-always-on; | |
43 | }; | |
44 | ||
45 | vdd_3v3_reg: REG_DCDC3 { | |
46 | regulator-name = "VDD_3V3"; | |
47 | regulator-min-microvolt = <3300000>; | |
48 | regulator-max-microvolt = <3300000>; | |
49 | regulator-always-on; | |
50 | }; | |
51 | ||
52 | vdd_fuse_reg: REG_LDO1 { | |
53 | regulator-name = "VDD_FUSE"; | |
54 | regulator-min-microvolt = <2500000>; | |
55 | regulator-max-microvolt = <2500000>; | |
56 | regulator-always-on; | |
57 | }; | |
58 | ||
59 | vdd_3v3_lp_reg: REG_LDO2 { | |
60 | regulator-name = "VDD_3V3_LP"; | |
61 | regulator-min-microvolt = <3300000>; | |
62 | regulator-max-microvolt = <3300000>; | |
63 | regulator-always-on; | |
64 | }; | |
65 | ||
66 | vdd_led_reg: REG_LDO3 { | |
67 | regulator-name = "VDD_LED"; | |
68 | regulator-min-microvolt = <3300000>; | |
69 | regulator-max-microvolt = <3300000>; | |
70 | regulator-always-on; | |
71 | }; | |
72 | ||
73 | vdd_sdhc_1v8_reg: REG_LDO4 { | |
74 | regulator-name = "VDD_SDHC_1V8"; | |
75 | regulator-min-microvolt = <1800000>; | |
76 | regulator-max-microvolt = <1800000>; | |
77 | regulator-always-on; | |
78 | }; | |
79 | }; | |
80 | }; |