Merge remote-tracking branch 'asoc/topic/rcar' into asoc-next
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / regulator / act8945a-regulator.txt
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
27                 active-semi,vsel-high;
28
29                 regulators {
30                         vdd_1v35_reg: REG_DCDC1 {
31                                 regulator-name = "VDD_1V35";
32                                 regulator-min-microvolt = <1350000>;
33                                 regulator-max-microvolt = <1350000>;
34                                 regulator-always-on;
35                         };
36
37                         vdd_1v2_reg: REG_DCDC2 {
38                                 regulator-name = "VDD_1V2";
39                                 regulator-min-microvolt = <1100000>;
40                                 regulator-max-microvolt = <1300000>;
41                                 regulator-always-on;
42                         };
43
44                         vdd_3v3_reg: REG_DCDC3 {
45                                 regulator-name = "VDD_3V3";
46                                 regulator-min-microvolt = <3300000>;
47                                 regulator-max-microvolt = <3300000>;
48                                 regulator-always-on;
49                         };
50
51                         vdd_fuse_reg: REG_LDO1 {
52                                 regulator-name = "VDD_FUSE";
53                                 regulator-min-microvolt = <2500000>;
54                                 regulator-max-microvolt = <2500000>;
55                                 regulator-always-on;
56                         };
57
58                         vdd_3v3_lp_reg: REG_LDO2 {
59                                 regulator-name = "VDD_3V3_LP";
60                                 regulator-min-microvolt = <3300000>;
61                                 regulator-max-microvolt = <3300000>;
62                                 regulator-always-on;
63                         };
64
65                         vdd_led_reg: REG_LDO3 {
66                                 regulator-name = "VDD_LED";
67                                 regulator-min-microvolt = <3300000>;
68                                 regulator-max-microvolt = <3300000>;
69                                 regulator-always-on;
70                         };
71
72                         vdd_sdhc_1v8_reg: REG_LDO4 {
73                                 regulator-name = "VDD_SDHC_1V8";
74                                 regulator-min-microvolt = <1800000>;
75                                 regulator-max-microvolt = <1800000>;
76                                 regulator-always-on;
77                         };
78                 };
79         };