Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / lm363x-regulator.txt
blobcc5a6151d85ff40c966a88098236b9fee9a6ea74
1 TI LMU LM363x regulator device tree bindings
3 LM363x regulator driver supports LM3631 and LM3632.
4 LM3631 has five regulators and LM3632 supports three regulators.
6 Required property:
7   - compatible: "ti,lm363x-regulator"
9 Optional properties:
10   LM3632 has external enable pins for two LDOs.
11   - enable-gpios: Two GPIO specifiers for Vpos and Vneg control pins.
12                   The first entry is Vpos, the second is Vneg enable pin.
14 Child nodes:
15   LM3631
16   - vboost
17   - vcont
18   - voref
19   - vpos
20   - vneg
22   LM3632
23   - vboost
24   - vpos
25   - vneg
27   Optional properties of a child node:
28   Each sub-node should contain the constraints and initialization.
29   Please refer to [1].
31 Examples: Please refer to ti-lmu dt-bindings [2].
33 lm3631@29 {
34         compatible = "ti,lm3631";
35         reg = <0x29>;
37         regulators {
38                 compatible = "ti,lm363x-regulator";
40                 vboost {
41                         regulator-name = "lcd_boost";
42                         regulator-min-microvolt = <4500000>;
43                         regulator-max-microvolt = <6350000>;
44                         regulator-always-on;
45                 };
47                 vcont {
48                         regulator-name = "lcd_vcont";
49                         regulator-min-microvolt = <1800000>;
50                         regulator-max-microvolt = <3300000>;
51                 };
53                 voref {
54                         regulator-name = "lcd_voref";
55                         regulator-min-microvolt = <4000000>;
56                         regulator-max-microvolt = <6000000>;
57                 };
59                 vpos {
60                         regulator-name = "lcd_vpos";
61                         regulator-min-microvolt = <4000000>;
62                         regulator-max-microvolt = <6000000>;
63                         regulator-boot-on;
64                 };
66                 vneg {
67                         regulator-name = "lcd_vneg";
68                         regulator-min-microvolt = <4000000>;
69                         regulator-max-microvolt = <6000000>;
70                         regulator-boot-on;
71                 };
72         };
75 lm3632@11 {
76         compatible = "ti,lm3632";
77         reg = <0x11>;
79         regulators {
80                 compatible = "ti,lm363x-regulator";
82                 /* GPIO1_16 for Vpos, GPIO1_28 is for Vneg */
83                 enable-gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>,
84                                 <&gpio1 28 GPIO_ACTIVE_HIGH>;
86                 vboost {
87                         regulator-name = "lcd_boost";
88                         regulator-min-microvolt = <4500000>;
89                         regulator-max-microvolt = <6400000>;
90                         regulator-always-on;
91                 };
93                 vpos {
94                         regulator-name = "lcd_vpos";
95                         regulator-min-microvolt = <4000000>;
96                         regulator-max-microvolt = <6000000>;
97                 };
99                 vneg {
100                         regulator-name = "lcd_vneg";
101                         regulator-min-microvolt = <4000000>;
102                         regulator-max-microvolt = <6000000>;
103                 };
104         };
107 [1] ../regulator/regulator.txt
108 [2] ../mfd/ti-lmu.txt