diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-02-04 23:33:31 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-05 13:18:47 -0500 |
commit | a3408b7ba0efa41a944db8b0f92bbe88b7d2783b (patch) | |
tree | 471f014a1cad983f447e3e2375f9625eef1e4f31 | |
parent | 38c09961048b853afd9429c9b57685a1511bc857 (diff) |
regulator: add documentation for ACT8945A's regulator DT bindings
This patch adds documentation for the DT bindings of the regulator
subdevice of ACT8945A MFD.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/regulator/act8945a-regulator.txt | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/act8945a-regulator.txt b/Documentation/devicetree/bindings/regulator/act8945a-regulator.txt new file mode 100644 index 000000000000..5c80a7779552 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/act8945a-regulator.txt | |||
@@ -0,0 +1,80 @@ | |||
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 | }; | ||