Merge branches 'pm-cpufreq', 'pm-cpuidle', 'pm-devfreq', 'pm-opp' and 'pm-tools'
[linux-drm-fsl-dcu.git] / Documentation / devicetree / bindings / regulator / da9211.txt
1 * Dialog Semiconductor DA9211/DA9213 Voltage Regulator
2
3 Required 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
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         };