xref: /linux/Documentation/devicetree/bindings/regulator/da9211.txt (revision 2ba9268dd603d23e17643437b2246acb6844953b)
1* Dialog Semiconductor DA9211/DA9213 Voltage Regulator
2
3Required properties:
4- compatible: "dlg,da9211" or "dlg,da9213".
5- reg: I2C slave address, usually 0x68.
6- interrupts: the interrupt outputs of the controller
7- regulators: A node that houses a sub-node for each regulator within the
8  device. Each sub-node is identified using the node's name, with valid
9  values listed below. The content of each sub-node is defined by the
10  standard binding for regulators; see regulator.txt.
11  BUCKA and BUCKB.
12
13Optional properties:
14- enable-gpios: platform gpio for control of BUCKA/BUCKB.
15- Any optional property defined in regulator.txt
16
17Example 1) DA9211
18
19	pmic: da9211@68 {
20		compatible = "dlg,da9211";
21		reg = <0x68>;
22		interrupts = <3 27>;
23
24		regulators {
25			BUCKA {
26				regulator-name = "VBUCKA";
27				regulator-min-microvolt = < 300000>;
28				regulator-max-microvolt = <1570000>;
29				regulator-min-microamp 	= <2000000>;
30				regulator-max-microamp 	= <5000000>;
31				enable-gpios = <&gpio 27 0>;
32			};
33			BUCKB {
34				regulator-name = "VBUCKB";
35				regulator-min-microvolt = < 300000>;
36				regulator-max-microvolt = <1570000>;
37				regulator-min-microamp 	= <2000000>;
38				regulator-max-microamp 	= <5000000>;
39				enable-gpios = <&gpio 17 0>;
40			};
41		};
42	};
43
44Example 2) DA9213
45	pmic: da9213@68 {
46		compatible = "dlg,da9213";
47		reg = <0x68>;
48		interrupts = <3 27>;
49
50		regulators {
51			BUCKA {
52				regulator-name = "VBUCKA";
53				regulator-min-microvolt = < 300000>;
54				regulator-max-microvolt = <1570000>;
55				regulator-min-microamp 	= <3000000>;
56				regulator-max-microamp 	= <6000000>;
57				enable-gpios = <&gpio 27 0>;
58			};
59			BUCKB {
60				regulator-name = "VBUCKB";
61				regulator-min-microvolt = < 300000>;
62				regulator-max-microvolt = <1570000>;
63				regulator-min-microamp 	= <3000000>;
64				regulator-max-microamp 	= <6000000>;
65				enable-gpios = <&gpio 17 0>;
66			};
67		};
68	};
69