1 From f5b5c70021187c0ef70edf83865b62fec473e8fb Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sun, 10 Jan 2016 17:31:46 +0100
4 Subject: [PATCH 46/81] regulator: Add document for MT6323 regulator
6 Signed-off-by: John Crispin <blogic@openwrt.org>
7 Cc: devicetree@vger.kernel.org
9 .../bindings/regulator/mt6323-regulator.txt | 239 ++++++++++++++++++++
10 1 file changed, 239 insertions(+)
11 create mode 100644 Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
13 diff --git a/Documentation/devicetree/bindings/regulator/mt6323-regulator.txt b/Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
15 index 0000000..9fd95e7
17 +++ b/Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
19 +Mediatek MT6323 Regulator Driver
21 +All voltage regulators are defined as subnodes of the regulators node. A list
22 +of regulators provided by this controller are defined as subnodes of the
23 +PMIC's node. Each regulator is named according to its regulator type,
24 +buck_<name> and ldo_<name>. The definition for each of these nodes is defined
25 +using the standard binding for regulators at
26 +Documentation/devicetree/bindings/regulator/regulator.txt.
28 +The valid names for regulators are::
30 + buck_vproc, buck_vsys, buck_vpa
32 + ldo_vtcxo, ldo_vcn28, ldo_vcn33_bt, ldo_vcn33_wifi, ldo_va, ldo_vcama,
33 + ldo_vio28, ldo_vusb, ldo_vmc, ldo_vmch, ldo_vemc3v3, ldo_vgp1, ldo_vgp2,
34 + ldo_vgp3, ldo_vcn18, ldo_vsim1, ldo_vsim2, ldo_vrtc, ldo_vcamaf, ldo_vibr,
35 + ldo_vrf18, ldo_vm, ldo_vio18, ldo_vcamd, ldo_vcamio
40 + compatible = "mediatek,mt6323";
42 + mt6323regulator: regulators {
43 + mt6323_vproc_reg: buck_vproc{
44 + regulator-name = "vproc";
45 + regulator-min-microvolt = < 700000>;
46 + regulator-max-microvolt = <1350000>;
47 + regulator-ramp-delay = <12500>;
48 + regulator-always-on;
52 + mt6323_vsys_reg: buck_vsys{
53 + regulator-name = "vsys";
54 + regulator-min-microvolt = <1400000>;
55 + regulator-max-microvolt = <2987500>;
56 + regulator-ramp-delay = <25000>;
57 + regulator-always-on;
61 + mt6323_vpa_reg: buck_vpa{
62 + regulator-name = "vpa";
63 + regulator-min-microvolt = < 500000>;
64 + regulator-max-microvolt = <3650000>;
67 + mt6323_vtcxo_reg: ldo_vtcxo{
68 + regulator-name = "vtcxo";
69 + regulator-min-microvolt = <2800000>;
70 + regulator-max-microvolt = <2800000>;
71 + regulator-enable-ramp-delay = <90>;
72 + regulator-always-on;
76 + mt6323_vcn28_reg: ldo_vcn28{
77 + regulator-name = "vcn28";
78 + regulator-min-microvolt = <2800000>;
79 + regulator-max-microvolt = <2800000>;
80 + regulator-enable-ramp-delay = <185>;
83 + mt6323_vcn33_bt_reg: ldo_vcn33_bt{
84 + regulator-name = "vcn33_bt";
85 + regulator-min-microvolt = <3300000>;
86 + regulator-max-microvolt = <3600000>;
87 + regulator-enable-ramp-delay = <185>;
90 + mt6323_vcn33_wifi_reg: ldo_vcn33_wifi{
91 + regulator-name = "vcn33_wifi";
92 + regulator-min-microvolt = <3300000>;
93 + regulator-max-microvolt = <3600000>;
94 + regulator-enable-ramp-delay = <185>;
97 + mt6323_va_reg: ldo_va{
98 + regulator-name = "va";
99 + regulator-min-microvolt = <2800000>;
100 + regulator-max-microvolt = <2800000>;
101 + regulator-enable-ramp-delay = <216>;
102 + regulator-always-on;
106 + mt6323_vcama_reg: ldo_vcama{
107 + regulator-name = "vcama";
108 + regulator-min-microvolt = <1500000>;
109 + regulator-max-microvolt = <2800000>;
110 + regulator-enable-ramp-delay = <216>;
113 + mt6323_vio28_reg: ldo_vio28{
114 + regulator-name = "vio28";
115 + regulator-min-microvolt = <2800000>;
116 + regulator-max-microvolt = <2800000>;
117 + regulator-enable-ramp-delay = <216>;
118 + regulator-always-on;
122 + mt6323_vusb_reg: ldo_vusb{
123 + regulator-name = "vusb";
124 + regulator-min-microvolt = <3300000>;
125 + regulator-max-microvolt = <3300000>;
126 + regulator-enable-ramp-delay = <216>;
130 + mt6323_vmc_reg: ldo_vmc{
131 + regulator-name = "vmc";
132 + regulator-min-microvolt = <1800000>;
133 + regulator-max-microvolt = <3300000>;
134 + regulator-enable-ramp-delay = <36>;
138 + mt6323_vmch_reg: ldo_vmch{
139 + regulator-name = "vmch";
140 + regulator-min-microvolt = <3000000>;
141 + regulator-max-microvolt = <3300000>;
142 + regulator-enable-ramp-delay = <36>;
146 + mt6323_vemc3v3_reg: ldo_vemc3v3{
147 + regulator-name = "vemc3v3";
148 + regulator-min-microvolt = <3000000>;
149 + regulator-max-microvolt = <3300000>;
150 + regulator-enable-ramp-delay = <36>;
154 + mt6323_vgp1_reg: ldo_vgp1{
155 + regulator-name = "vgp1";
156 + regulator-min-microvolt = <1200000>;
157 + regulator-max-microvolt = <3300000>;
158 + regulator-enable-ramp-delay = <216>;
161 + mt6323_vgp2_reg: ldo_vgp2{
162 + regulator-name = "vgp2";
163 + regulator-min-microvolt = <1200000>;
164 + regulator-max-microvolt = <3000000>;
165 + regulator-enable-ramp-delay = <216>;
168 + mt6323_vgp3_reg: ldo_vgp3{
169 + regulator-name = "vgp3";
170 + regulator-min-microvolt = <1200000>;
171 + regulator-max-microvolt = <1800000>;
172 + regulator-enable-ramp-delay = <216>;
175 + mt6323_vcn18_reg: ldo_vcn18{
176 + regulator-name = "vcn18";
177 + regulator-min-microvolt = <1800000>;
178 + regulator-max-microvolt = <1800000>;
179 + regulator-enable-ramp-delay = <216>;
182 + mt6323_vsim1_reg: ldo_vsim1{
183 + regulator-name = "vsim1";
184 + regulator-min-microvolt = <1800000>;
185 + regulator-max-microvolt = <3000000>;
186 + regulator-enable-ramp-delay = <216>;
189 + mt6323_vsim2_reg: ldo_vsim2{
190 + regulator-name = "vsim2";
191 + regulator-min-microvolt = <1800000>;
192 + regulator-max-microvolt = <3000000>;
193 + regulator-enable-ramp-delay = <216>;
196 + mt6323_vrtc_reg: ldo_vrtc{
197 + regulator-name = "vrtc";
198 + regulator-min-microvolt = <2800000>;
199 + regulator-max-microvolt = <2800000>;
200 + regulator-always-on;
204 + mt6323_vcamaf_reg: ldo_vcamaf{
205 + regulator-name = "vcamaf";
206 + regulator-min-microvolt = <1200000>;
207 + regulator-max-microvolt = <3300000>;
208 + regulator-enable-ramp-delay = <216>;
211 + mt6323_vibr_reg: ldo_vibr{
212 + regulator-name = "vibr";
213 + regulator-min-microvolt = <1200000>;
214 + regulator-max-microvolt = <3300000>;
215 + regulator-enable-ramp-delay = <36>;
218 + mt6323_vrf18_reg: ldo_vrf18{
219 + regulator-name = "vrf18";
220 + regulator-min-microvolt = <1825000>;
221 + regulator-max-microvolt = <1825000>;
222 + regulator-enable-ramp-delay = <187>;
225 + mt6323_vm_reg: ldo_vm{
226 + regulator-name = "vm";
227 + regulator-min-microvolt = <1200000>;
228 + regulator-max-microvolt = <1800000>;
229 + regulator-enable-ramp-delay = <216>;
230 + regulator-always-on;
234 + mt6323_vio18_reg: ldo_vio18{
235 + regulator-name = "vio18";
236 + regulator-min-microvolt = <1800000>;
237 + regulator-max-microvolt = <1800000>;
238 + regulator-enable-ramp-delay = <216>;
239 + regulator-always-on;
243 + mt6323_vcamd_reg: ldo_vcamd{
244 + regulator-name = "vcamd";
245 + regulator-min-microvolt = <1200000>;
246 + regulator-max-microvolt = <1800000>;
247 + regulator-enable-ramp-delay = <216>;
250 + mt6323_vcamio_reg: ldo_vcamio{
251 + regulator-name = "vcamio";
252 + regulator-min-microvolt = <1800000>;
253 + regulator-max-microvolt = <1800000>;
254 + regulator-enable-ramp-delay = <216>;