aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>2018-05-30 04:42:32 -0400
committerMark Brown <broonie@kernel.org>2018-05-30 06:31:17 -0400
commit196c813570afd0d52d453ef3b77c4c15ca760327 (patch)
tree1aeaa1a31e784db6737a32ee0c4ff93ec1666ac8
parent37bed97f00734ce329495823d9682181028b51e4 (diff)
regulator: bd71837: Devicetree bindings for BD71837 regulators
Document devicetree bindings for ROHM BD71837 PMIC regulators. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt126
1 files changed, 126 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt b/Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt
new file mode 100644
index 000000000000..4edf3137d9f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt
@@ -0,0 +1,126 @@
1ROHM BD71837 Power Management Integrated Circuit (PMIC) regulator bindings
2
3BD71837MWV is a programmable Power Management
4IC (PMIC) for powering single-core, dual-core, and
5quad-core SoC’s such as NXP-i.MX 8M. It is optimized
6for low BOM cost and compact solution footprint. It
7integrates 8 Buck regulators and 7 LDO’s to provide all
8the power rails required by the SoC and the commonly
9used peripherals.
10
11Required properties:
12 - regulator-name: should be "buck1", ..., "buck8" and "ldo1", ..., "ldo7"
13
14List of regulators provided by this controller. BD71837 regulators node
15should be sub node of the BD71837 MFD node. See BD71837 MFD bindings at
16Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt
17Regulator nodes should be named to BUCK_<number> and LDO_<number>. The
18definition for each of these nodes is defined using the standard
19binding for regulators at
20Documentation/devicetree/bindings/regulator/regulator.txt.
21Note that if BD71837 starts at RUN state you probably want to use
22regulator-boot-on at least for BUCK6 and BUCK7 so that those are not
23disabled by driver at startup. LDO5 and LDO6 are supplied by those and
24if they are disabled at startup the voltage monitoring for LDO5/LDO6 will
25cause PMIC to reset.
26
27The valid names for regulator nodes are:
28BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, BUCK7, BUCK8
29LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7
30
31Optional properties:
32- Any optional property defined in bindings/regulator/regulator.txt
33
34Example:
35regulators {
36 buck1: BUCK1 {
37 regulator-name = "buck1";
38 regulator-min-microvolt = <700000>;
39 regulator-max-microvolt = <1300000>;
40 regulator-boot-on;
41 regulator-ramp-delay = <1250>;
42 };
43 buck2: BUCK2 {
44 regulator-name = "buck2";
45 regulator-min-microvolt = <700000>;
46 regulator-max-microvolt = <1300000>;
47 regulator-boot-on;
48 regulator-always-on;
49 regulator-ramp-delay = <1250>;
50 };
51 buck3: BUCK3 {
52 regulator-name = "buck3";
53 regulator-min-microvolt = <700000>;
54 regulator-max-microvolt = <1300000>;
55 regulator-boot-on;
56 };
57 buck4: BUCK4 {
58 regulator-name = "buck4";
59 regulator-min-microvolt = <700000>;
60 regulator-max-microvolt = <1300000>;
61 regulator-boot-on;
62 };
63 buck5: BUCK5 {
64 regulator-name = "buck5";
65 regulator-min-microvolt = <700000>;
66 regulator-max-microvolt = <1350000>;
67 regulator-boot-on;
68 };
69 buck6: BUCK6 {
70 regulator-name = "buck6";
71 regulator-min-microvolt = <3000000>;
72 regulator-max-microvolt = <3300000>;
73 regulator-boot-on;
74 };
75 buck7: BUCK7 {
76 regulator-name = "buck7";
77 regulator-min-microvolt = <1605000>;
78 regulator-max-microvolt = <1995000>;
79 regulator-boot-on;
80 };
81 buck8: BUCK8 {
82 regulator-name = "buck8";
83 regulator-min-microvolt = <800000>;
84 regulator-max-microvolt = <1400000>;
85 };
86
87 ldo1: LDO1 {
88 regulator-name = "ldo1";
89 regulator-min-microvolt = <3000000>;
90 regulator-max-microvolt = <3300000>;
91 regulator-boot-on;
92 };
93 ldo2: LDO2 {
94 regulator-name = "ldo2";
95 regulator-min-microvolt = <900000>;
96 regulator-max-microvolt = <900000>;
97 regulator-boot-on;
98 };
99 ldo3: LDO3 {
100 regulator-name = "ldo3";
101 regulator-min-microvolt = <1800000>;
102 regulator-max-microvolt = <3300000>;
103 };
104 ldo4: LDO4 {
105 regulator-name = "ldo4";
106 regulator-min-microvolt = <900000>;
107 regulator-max-microvolt = <1800000>;
108 };
109 ldo5: LDO5 {
110 regulator-name = "ldo5";
111 regulator-min-microvolt = <1800000>;
112 regulator-max-microvolt = <3300000>;
113 };
114 ldo6: LDO6 {
115 regulator-name = "ldo6";
116 regulator-min-microvolt = <900000>;
117 regulator-max-microvolt = <1800000>;
118 };
119 ldo7_reg: LDO7 {
120 regulator-name = "ldo7";
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <3300000>;
123 };
124};
125
126