1* Dialog Semiconductor DA9211/DA9212/DA9213/DA9223/DA9214/DA9224/DA9215/DA9225
2 Voltage Regulator
3
4Required properties:
5- compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" or "dlg,da9223"
6  or "dlg,da9214" or "dlg,da9224" or "dlg,da9215" or "dlg,da9225"
7- reg: I2C slave address, usually 0x68.
8- interrupts: the interrupt outputs of the controller
9- regulators: A node that houses a sub-node for each regulator within the
10  device. Each sub-node is identified using the node's name, with valid
11  values listed below. The content of each sub-node is defined by the
12  standard binding for regulators; see regulator.txt.
13  BUCKA and BUCKB.
14
15Optional properties:
16- enable-gpios: platform gpio for control of BUCKA/BUCKB.
17- Any optional property defined in regulator.txt
18
19Example 1) DA9211
20	pmic: da9211@68 {
21		compatible = "dlg,da9211";
22		reg = <0x68>;
23		interrupts = <3 27>;
24
25		regulators {
26			BUCKA {
27				regulator-name = "VBUCKA";
28				regulator-min-microvolt = < 300000>;
29				regulator-max-microvolt = <1570000>;
30				regulator-min-microamp 	= <2000000>;
31				regulator-max-microamp 	= <5000000>;
32				enable-gpios = <&gpio 27 0>;
33			};
34		};
35	};
36
37Example 2) DA9212
38	pmic: da9212@68 {
39		compatible = "dlg,da9212";
40		reg = <0x68>;
41		interrupts = <3 27>;
42
43		regulators {
44			BUCKA {
45				regulator-name = "VBUCKA";
46				regulator-min-microvolt = < 300000>;
47				regulator-max-microvolt = <1570000>;
48				regulator-min-microamp 	= <2000000>;
49				regulator-max-microamp 	= <5000000>;
50				enable-gpios = <&gpio 27 0>;
51			};
52			BUCKB {
53				regulator-name = "VBUCKB";
54				regulator-min-microvolt = < 300000>;
55				regulator-max-microvolt = <1570000>;
56				regulator-min-microamp 	= <2000000>;
57				regulator-max-microamp 	= <5000000>;
58				enable-gpios = <&gpio 17 0>;
59			};
60		};
61	};
62
63Example 3) DA9213
64	pmic: da9213@68 {
65		compatible = "dlg,da9213";
66		reg = <0x68>;
67		interrupts = <3 27>;
68
69		regulators {
70			BUCKA {
71				regulator-name = "VBUCKA";
72				regulator-min-microvolt = < 300000>;
73				regulator-max-microvolt = <1570000>;
74				regulator-min-microamp 	= <3000000>;
75				regulator-max-microamp 	= <6000000>;
76				enable-gpios = <&gpio 27 0>;
77			};
78		};
79	};
80
81Example 4) DA9223
82	pmic: da9223@68 {
83		compatible = "dlg,da9223";
84		reg = <0x68>;
85		interrupts = <3 27>;
86
87		regulators {
88			BUCKA {
89				regulator-name = "VBUCKA";
90				regulator-min-microvolt = < 300000>;
91				regulator-max-microvolt = <1570000>;
92				regulator-min-microamp 	= <3000000>;
93				regulator-max-microamp 	= <6000000>;
94				enable-gpios = <&gpio 27 0>;
95			};
96		};
97	};
98
99Example 5) DA9214
100	pmic: da9214@68 {
101		compatible = "dlg,da9214";
102		reg = <0x68>;
103		interrupts = <3 27>;
104
105		regulators {
106			BUCKA {
107				regulator-name = "VBUCKA";
108				regulator-min-microvolt = < 300000>;
109				regulator-max-microvolt = <1570000>;
110				regulator-min-microamp 	= <3000000>;
111				regulator-max-microamp 	= <6000000>;
112				enable-gpios = <&gpio 27 0>;
113			};
114			BUCKB {
115				regulator-name = "VBUCKB";
116				regulator-min-microvolt = < 300000>;
117				regulator-max-microvolt = <1570000>;
118				regulator-min-microamp 	= <3000000>;
119				regulator-max-microamp 	= <6000000>;
120				enable-gpios = <&gpio 17 0>;
121			};
122		};
123	};
124
125Example 6) DA9224
126	pmic: da9224@68 {
127		compatible = "dlg,da9224";
128		reg = <0x68>;
129		interrupts = <3 27>;
130
131		regulators {
132			BUCKA {
133				regulator-name = "VBUCKA";
134				regulator-min-microvolt = < 300000>;
135				regulator-max-microvolt = <1570000>;
136				regulator-min-microamp 	= <3000000>;
137				regulator-max-microamp 	= <6000000>;
138				enable-gpios = <&gpio 27 0>;
139			};
140			BUCKB {
141				regulator-name = "VBUCKB";
142				regulator-min-microvolt = < 300000>;
143				regulator-max-microvolt = <1570000>;
144				regulator-min-microamp 	= <3000000>;
145				regulator-max-microamp 	= <6000000>;
146				enable-gpios = <&gpio 17 0>;
147			};
148		};
149	};
150
151Example 7) DA9215
152	pmic: da9215@68 {
153		compatible = "dlg,da9215";
154		reg = <0x68>;
155		interrupts = <3 27>;
156
157		regulators {
158			BUCKA {
159				regulator-name = "VBUCKA";
160				regulator-min-microvolt = < 300000>;
161				regulator-max-microvolt = <1570000>;
162				regulator-min-microamp 	= <4000000>;
163				regulator-max-microamp 	= <7000000>;
164				enable-gpios = <&gpio 27 0>;
165			};
166			BUCKB {
167				regulator-name = "VBUCKB";
168				regulator-min-microvolt = < 300000>;
169				regulator-max-microvolt = <1570000>;
170				regulator-min-microamp 	= <4000000>;
171				regulator-max-microamp 	= <7000000>;
172				enable-gpios = <&gpio 17 0>;
173			};
174		};
175	};
176
177Example 8) DA9225
178	pmic: da9225@68 {
179		compatible = "dlg,da9225";
180		reg = <0x68>;
181		interrupts = <3 27>;
182
183		regulators {
184			BUCKA {
185				regulator-name = "VBUCKA";
186				regulator-min-microvolt = < 300000>;
187				regulator-max-microvolt = <1570000>;
188				regulator-min-microamp 	= <4000000>;
189				regulator-max-microamp 	= <7000000>;
190				enable-gpios = <&gpio 27 0>;
191			};
192			BUCKB {
193				regulator-name = "VBUCKB";
194				regulator-min-microvolt = < 300000>;
195				regulator-max-microvolt = <1570000>;
196				regulator-min-microamp 	= <4000000>;
197				regulator-max-microamp 	= <7000000>;
198				enable-gpios = <&gpio 17 0>;
199			};
200		};
201	};
202