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