blob: 0f2a6f8fcafdb988dfc93042e7b5d700ee5ac206 [file] [log] [blame]
James Ban7524c1c2016-06-29 16:49:32 +09001* Dialog Semiconductor DA9211/DA9212/DA9213/DA9214/DA9215 Voltage Regulator
James Banbf3baca2014-08-27 11:47:07 +09002
3Required properties:
James Ban7524c1c2016-06-29 16:49:32 +09004- compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213"
5 or "dlg,da9214" or "dlg,da9215"
James Banbf3baca2014-08-27 11:47:07 +09006- reg: I2C slave address, usually 0x68.
7- interrupts: the interrupt outputs of the controller
8- regulators: A node that houses a sub-node for each regulator within the
9 device. Each sub-node is identified using the node's name, with valid
10 values listed below. The content of each sub-node is defined by the
11 standard binding for regulators; see regulator.txt.
12 BUCKA and BUCKB.
13
14Optional properties:
James Ban8c7dd8b2015-01-28 09:28:08 +090015- enable-gpios: platform gpio for control of BUCKA/BUCKB.
James Banbf3baca2014-08-27 11:47:07 +090016- Any optional property defined in regulator.txt
17
18Example 1) DA9211
19
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>;
James Ban8c7dd8b2015-01-28 09:28:08 +090032 enable-gpios = <&gpio 27 0>;
James Banbf3baca2014-08-27 11:47:07 +090033 };
James Ban7524c1c2016-06-29 16:49:32 +090034 };
35 };
36
37Example 2) DA9212
38
39 pmic: da9212@68 {
40 compatible = "dlg,da9212";
41 reg = <0x68>;
42 interrupts = <3 27>;
43
44 regulators {
45 BUCKA {
46 regulator-name = "VBUCKA";
47 regulator-min-microvolt = < 300000>;
48 regulator-max-microvolt = <1570000>;
49 regulator-min-microamp = <2000000>;
50 regulator-max-microamp = <5000000>;
51 enable-gpios = <&gpio 27 0>;
52 };
James Banbf3baca2014-08-27 11:47:07 +090053 BUCKB {
54 regulator-name = "VBUCKB";
55 regulator-min-microvolt = < 300000>;
56 regulator-max-microvolt = <1570000>;
57 regulator-min-microamp = <2000000>;
58 regulator-max-microamp = <5000000>;
James Ban8c7dd8b2015-01-28 09:28:08 +090059 enable-gpios = <&gpio 17 0>;
James Banbf3baca2014-08-27 11:47:07 +090060 };
61 };
62 };
63
James Ban7524c1c2016-06-29 16:49:32 +090064Example 3) DA9213
James Banbf3baca2014-08-27 11:47:07 +090065 pmic: da9213@68 {
66 compatible = "dlg,da9213";
67 reg = <0x68>;
68 interrupts = <3 27>;
69
70 regulators {
71 BUCKA {
72 regulator-name = "VBUCKA";
73 regulator-min-microvolt = < 300000>;
74 regulator-max-microvolt = <1570000>;
75 regulator-min-microamp = <3000000>;
76 regulator-max-microamp = <6000000>;
James Ban8c7dd8b2015-01-28 09:28:08 +090077 enable-gpios = <&gpio 27 0>;
James Banbf3baca2014-08-27 11:47:07 +090078 };
James Ban7524c1c2016-06-29 16:49:32 +090079 };
80 };
81
82Example 4) DA9214
83 pmic: da9214@68 {
84 compatible = "dlg,da9214";
85 reg = <0x68>;
86 interrupts = <3 27>;
87
88 regulators {
89 BUCKA {
90 regulator-name = "VBUCKA";
91 regulator-min-microvolt = < 300000>;
92 regulator-max-microvolt = <1570000>;
93 regulator-min-microamp = <3000000>;
94 regulator-max-microamp = <6000000>;
95 enable-gpios = <&gpio 27 0>;
96 };
James Banbf3baca2014-08-27 11:47:07 +090097 BUCKB {
98 regulator-name = "VBUCKB";
99 regulator-min-microvolt = < 300000>;
100 regulator-max-microvolt = <1570000>;
101 regulator-min-microamp = <3000000>;
102 regulator-max-microamp = <6000000>;
James Ban8c7dd8b2015-01-28 09:28:08 +0900103 enable-gpios = <&gpio 17 0>;
James Banbf3baca2014-08-27 11:47:07 +0900104 };
105 };
106 };
James Ban7bd39352015-06-30 13:39:39 +0900107
James Ban7524c1c2016-06-29 16:49:32 +0900108Example 5) DA9215
James Ban7bd39352015-06-30 13:39:39 +0900109 pmic: da9215@68 {
110 compatible = "dlg,da9215";
111 reg = <0x68>;
112 interrupts = <3 27>;
113
114 regulators {
115 BUCKA {
116 regulator-name = "VBUCKA";
117 regulator-min-microvolt = < 300000>;
118 regulator-max-microvolt = <1570000>;
119 regulator-min-microamp = <4000000>;
120 regulator-max-microamp = <7000000>;
121 enable-gpios = <&gpio 27 0>;
122 };
123 BUCKB {
124 regulator-name = "VBUCKB";
125 regulator-min-microvolt = < 300000>;
126 regulator-max-microvolt = <1570000>;
127 regulator-min-microamp = <4000000>;
128 regulator-max-microamp = <7000000>;
129 enable-gpios = <&gpio 17 0>;
130 };
131 };
132 };
133