Commit | Line | Data |
---|---|---|
7524c1ce | 1 | * Dialog Semiconductor DA9211/DA9212/DA9213/DA9214/DA9215 Voltage Regulator |
bf3baca6 JB |
2 | |
3 | Required properties: | |
7524c1ce JB |
4 | - compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" |
5 | or "dlg,da9214" or "dlg,da9215" | |
bf3baca6 JB |
6 | - 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 | ||
14 | Optional properties: | |
8c7dd8bc | 15 | - enable-gpios: platform gpio for control of BUCKA/BUCKB. |
bf3baca6 JB |
16 | - Any optional property defined in regulator.txt |
17 | ||
18 | Example 1) DA9211 | |
19 | ||
20 | pmic: da9211@68 { | |
21 | compatible = "dlg,da9211"; | |
22 | reg = <0x68>; | |
23 | interrupts = <3 27>; | |
24 | ||
7524c1ce JB |
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>; | |
32 | enable-gpios = <&gpio 27 0>; | |
33 | }; | |
34 | }; | |
35 | }; | |
36 | ||
37 | Example 2) DA9212 | |
38 | ||
39 | pmic: da9212@68 { | |
40 | compatible = "dlg,da9212"; | |
41 | reg = <0x68>; | |
42 | interrupts = <3 27>; | |
43 | ||
bf3baca6 JB |
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>; | |
8c7dd8bc | 51 | enable-gpios = <&gpio 27 0>; |
bf3baca6 JB |
52 | }; |
53 | 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>; | |
8c7dd8bc | 59 | enable-gpios = <&gpio 17 0>; |
bf3baca6 JB |
60 | }; |
61 | }; | |
62 | }; | |
63 | ||
7524c1ce | 64 | Example 3) DA9213 |
bf3baca6 JB |
65 | pmic: da9213@68 { |
66 | compatible = "dlg,da9213"; | |
67 | reg = <0x68>; | |
68 | interrupts = <3 27>; | |
69 | ||
7524c1ce JB |
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>; | |
77 | enable-gpios = <&gpio 27 0>; | |
78 | }; | |
79 | }; | |
80 | }; | |
81 | ||
82 | Example 4) DA9214 | |
83 | pmic: da9214@68 { | |
84 | compatible = "dlg,da9214"; | |
85 | reg = <0x68>; | |
86 | interrupts = <3 27>; | |
87 | ||
bf3baca6 JB |
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>; | |
8c7dd8bc | 95 | enable-gpios = <&gpio 27 0>; |
bf3baca6 JB |
96 | }; |
97 | 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>; | |
8c7dd8bc | 103 | enable-gpios = <&gpio 17 0>; |
bf3baca6 JB |
104 | }; |
105 | }; | |
106 | }; | |
7bd39354 | 107 | |
7524c1ce | 108 | Example 5) DA9215 |
7bd39354 JB |
109 | 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 |