]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/regulator/da9211.txt
Merge remote-tracking branch 'access_once/linux-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / regulator / da9211.txt
1 * Dialog Semiconductor DA9211/DA9213/DA9215 Voltage Regulator
2
3 Required properties:
4 - compatible: "dlg,da9211" or "dlg,da9213" or "dlg,da9215"
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
13 Optional properties:
14 - enable-gpios: platform gpio for control of BUCKA/BUCKB.
15 - Any optional property defined in regulator.txt
16
17 Example 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
44 Example 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
70
71 Example 3) DA9215
72         pmic: da9215@68 {
73                 compatible = "dlg,da9215";
74                 reg = <0x68>;
75                 interrupts = <3 27>;
76
77                 regulators {
78                         BUCKA {
79                                 regulator-name = "VBUCKA";
80                                 regulator-min-microvolt = < 300000>;
81                                 regulator-max-microvolt = <1570000>;
82                                 regulator-min-microamp  = <4000000>;
83                                 regulator-max-microamp  = <7000000>;
84                                 enable-gpios = <&gpio 27 0>;
85                         };
86                         BUCKB {
87                                 regulator-name = "VBUCKB";
88                                 regulator-min-microvolt = < 300000>;
89                                 regulator-max-microvolt = <1570000>;
90                                 regulator-min-microamp  = <4000000>;
91                                 regulator-max-microamp  = <7000000>;
92                                 enable-gpios = <&gpio 17 0>;
93                         };
94                 };
95         };
96