Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / act8945a-regulator.txt
blob5c80a7779552a18ca9d273207bf96cf571237acb
1 Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device
3 Required properties:
4  - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt.
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.
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
17 Any standard regulator properties can be used to configure the single regulator.
19 The valid names for regulators are:
20         REG_DCDC1, REG_DCDC2, REG_DCDC3, REG_LDO1, REG_LDO2, REG_LDO3, REG_LDO4.
22 Example:
23         pmic@5b {
24                 compatible = "active-semi,act8945a";
25                 reg = <0x5b>;
26                 status = "okay";
28                 active-semi,vsel-high;
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                         };
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                         };
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                         };
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                         };
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                         };
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                         };
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         };