Merge tag 'rproc-v4.20' of git://github.com/andersson/remoteproc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / regulator / rohm,bd71837-regulator.txt
1 ROHM BD71837 and BD71847 Power Management Integrated Circuit regulator bindings
2
3 Required properties:
4  - regulator-name: should be "buck1", ..., "buck8" and "ldo1", ..., "ldo7" for
5                    BD71837. For BD71847 names should be "buck1", ..., "buck6"
6                    and "ldo1", ..., "ldo6"
7
8 List of regulators provided by this controller. BD71837 regulators node
9 should be sub node of the BD71837 MFD node. See BD71837 MFD bindings at
10 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt
11 Regulator nodes should be named to BUCK_<number> and LDO_<number>. The
12 definition for each of these nodes is defined using the standard
13 binding for regulators at
14 Documentation/devicetree/bindings/regulator/regulator.txt.
15 Note that if BD71837 starts at RUN state you probably want to use
16 regulator-boot-on at least for BUCK6 and BUCK7 so that those are not
17 disabled by driver at startup. LDO5 and LDO6 are supplied by those and
18 if they are disabled at startup the voltage monitoring for LDO5/LDO6 will
19 cause PMIC to reset.
20
21 The valid names for BD71837 regulator nodes are:
22 BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, BUCK7, BUCK8
23 LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7
24
25 The valid names for BD71847 regulator nodes are:
26 BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6
27 LDO1, LDO2, LDO3, LDO4, LDO5, LDO6
28
29 Optional properties:
30 - Any optional property defined in bindings/regulator/regulator.txt
31
32 Example:
33 regulators {
34         buck1: BUCK1 {
35                 regulator-name = "buck1";
36                 regulator-min-microvolt = <700000>;
37                 regulator-max-microvolt = <1300000>;
38                 regulator-boot-on;
39                 regulator-ramp-delay = <1250>;
40         };
41         buck2: BUCK2 {
42                 regulator-name = "buck2";
43                 regulator-min-microvolt = <700000>;
44                 regulator-max-microvolt = <1300000>;
45                 regulator-boot-on;
46                 regulator-always-on;
47                 regulator-ramp-delay = <1250>;
48         };
49         buck3: BUCK3 {
50                 regulator-name = "buck3";
51                 regulator-min-microvolt = <700000>;
52                 regulator-max-microvolt = <1300000>;
53                 regulator-boot-on;
54         };
55         buck4: BUCK4 {
56                 regulator-name = "buck4";
57                 regulator-min-microvolt = <700000>;
58                 regulator-max-microvolt = <1300000>;
59                 regulator-boot-on;
60         };
61         buck5: BUCK5 {
62                 regulator-name = "buck5";
63                 regulator-min-microvolt = <700000>;
64                 regulator-max-microvolt = <1350000>;
65                 regulator-boot-on;
66         };
67         buck6: BUCK6 {
68                 regulator-name = "buck6";
69                 regulator-min-microvolt = <3000000>;
70                 regulator-max-microvolt = <3300000>;
71                 regulator-boot-on;
72         };
73         buck7: BUCK7 {
74                 regulator-name = "buck7";
75                 regulator-min-microvolt = <1605000>;
76                 regulator-max-microvolt = <1995000>;
77                 regulator-boot-on;
78         };
79         buck8: BUCK8 {
80                 regulator-name = "buck8";
81                 regulator-min-microvolt = <800000>;
82                 regulator-max-microvolt = <1400000>;
83         };
84
85         ldo1: LDO1 {
86                 regulator-name = "ldo1";
87                 regulator-min-microvolt = <3000000>;
88                 regulator-max-microvolt = <3300000>;
89                 regulator-boot-on;
90         };
91         ldo2: LDO2 {
92                 regulator-name = "ldo2";
93                 regulator-min-microvolt = <900000>;
94                 regulator-max-microvolt = <900000>;
95                 regulator-boot-on;
96         };
97         ldo3: LDO3 {
98                 regulator-name = "ldo3";
99                 regulator-min-microvolt = <1800000>;
100                 regulator-max-microvolt = <3300000>;
101         };
102         ldo4: LDO4 {
103                 regulator-name = "ldo4";
104                 regulator-min-microvolt = <900000>;
105                 regulator-max-microvolt = <1800000>;
106         };
107         ldo5: LDO5 {
108                 regulator-name = "ldo5";
109                 regulator-min-microvolt = <1800000>;
110                 regulator-max-microvolt = <3300000>;
111         };
112         ldo6: LDO6 {
113                 regulator-name = "ldo6";
114                 regulator-min-microvolt = <900000>;
115                 regulator-max-microvolt = <1800000>;
116         };
117         ldo7_reg: LDO7 {
118                 regulator-name = "ldo7";
119                 regulator-min-microvolt = <1800000>;
120                 regulator-max-microvolt = <3300000>;
121         };
122 };
123
124