Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / da9211.txt
blobc620493e8dbe4cfa150a8ad787705cce8fce00d5
1 * Dialog Semiconductor DA9211/DA9213/DA9215 Voltage Regulator
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.
13 Optional properties:
14 - enable-gpios: platform gpio for control of BUCKA/BUCKB.
15 - Any optional property defined in regulator.txt
17 Example 1) DA9211
19         pmic: da9211@68 {
20                 compatible = "dlg,da9211";
21                 reg = <0x68>;
22                 interrupts = <3 27>;
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         };
44 Example 2) DA9213
45         pmic: da9213@68 {
46                 compatible = "dlg,da9213";
47                 reg = <0x68>;
48                 interrupts = <3 27>;
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         };
71 Example 3) DA9215
72         pmic: da9215@68 {
73                 compatible = "dlg,da9215";
74                 reg = <0x68>;
75                 interrupts = <3 27>;
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         };