Lines Matching +full:mt6323 +full:- +full:regulator

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6397/MT6323 PMIC
10 - Sen Chu <sen.chu@mediatek.com>
11 - Macpaul Lin <macpaul.lin@mediatek.com>
14 MT6397/MT6323 is a power management system chip.
15 Please see the sub-modules below for supported features.
17 MT6397/MT6323 is a multifunction device with the following sub modules:
18 - Regulators
19 - RTC
20 - ADC
21 - Audio codec
22 - GPIO
23 - Clock
24 - LED
25 - Keys
26 - Power controller
29 called PMIC wrapper or pwrap. MT6397/MT6323 PMIC is a child device of pwrap.
36 - enum:
37 - mediatek,mt6323
38 - mediatek,mt6331 # "mediatek,mt6331" for PMIC MT6331 and MT6332.
39 - mediatek,mt6358
40 - mediatek,mt6359
41 - mediatek,mt6397
42 - items:
43 - enum:
44 - mediatek,mt6366
45 - const: mediatek,mt6358
50 interrupt-controller: true
52 "#interrupt-cells":
65 - enum:
66 - mediatek,mt6323-rtc
67 - mediatek,mt6331-rtc
68 - mediatek,mt6358-rtc
69 - mediatek,mt6397-rtc
70 - items:
71 - enum:
72 - mediatek,mt6366-rtc
73 - const: mediatek,mt6358-rtc
75 start-year: true
78 - compatible
89 - enum:
90 - mediatek,mt6323-regulator
91 - mediatek,mt6358-regulator
92 - mediatek,mt6359-regulator
93 - mediatek,mt6397-regulator
94 - items:
95 - enum:
96 - mediatek,mt6366-regulator
97 - const: mediatek,mt6358-regulator
100 - compatible
104 $ref: /schemas/iio/adc/mediatek,mt6359-auxadc.yaml#
107 audio-codec:
116 - enum:
117 - mediatek,mt6358-sound
118 - mediatek,mt6359-codec
119 - mediatek,mt6397-codec
120 - items:
121 - enum:
122 - mediatek,mt6366-sound
123 - const: mediatek,mt6358-sound
126 - compatible
137 const: mediatek,mt6397-clk
139 '#clock-cells':
143 - compatible
149 MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
150 controllers are defined as the subnode of the function node provided by MT6323
151 PMIC controller that is being defined as one kind of Muti-Function Device (MFD)
153 MT6323 PMIC hardware.
155 Each led is represented as a child node of the mediatek,mt6323-led that
162 - mediatek,mt6323-led
163 - mediatek,mt6331-led
164 - mediatek,mt6332-led
169 "#address-cells":
172 "#size-cells":
176 "^led@[0-3]$":
189 - reg
192 - compatible
193 - "#address-cells"
194 - "#size-cells"
198 $ref: /schemas/input/mediatek,pmic-keys.yaml
203 power-controller:
213 const: mediatek,mt6323-pwrc
215 '#power-domain-cells':
220 $ref: /schemas/pinctrl/mediatek,mt65xx-pinctrl.yaml
226 - compatible
227 - regulators
232 - |
233 #include <dt-bindings/interrupt-controller/arm-gic.h>
234 #include <dt-bindings/leds/common.h>
237 compatible = "mediatek,mt6323";
238 interrupt-parent = <&pio>;
240 interrupt-controller;
241 #interrupt-cells = <2>;
244 compatible = "mediatek,mt6323-led";
245 #address-cells = <1>;
246 #size-cells = <0>;
250 compatible = "mediatek,mt6323-regulator";
253 regulator-name = "vproc";
254 regulator-min-microvolt = < 700000>;
255 regulator-max-microvolt = <1350000>;
256 regulator-ramp-delay = <12500>;
257 regulator-always-on;
258 regulator-boot-on;
262 regulator-name = "vsys";
263 regulator-min-microvolt = <1400000>;
264 regulator-max-microvolt = <2987500>;
265 regulator-ramp-delay = <25000>;
266 regulator-always-on;
267 regulator-boot-on;
271 regulator-name = "vpa";
272 regulator-min-microvolt = < 500000>;
273 regulator-max-microvolt = <3650000>;
277 regulator-name = "vtcxo";
278 regulator-min-microvolt = <2800000>;
279 regulator-max-microvolt = <2800000>;
280 regulator-enable-ramp-delay = <90>;
281 regulator-always-on;
282 regulator-boot-on;
286 regulator-name = "vcn28";
287 regulator-min-microvolt = <2800000>;
288 regulator-max-microvolt = <2800000>;
289 regulator-enable-ramp-delay = <185>;
293 regulator-name = "vcn33_bt";
294 regulator-min-microvolt = <3300000>;
295 regulator-max-microvolt = <3600000>;
296 regulator-enable-ramp-delay = <185>;
300 regulator-name = "vcn33_wifi";
301 regulator-min-microvolt = <3300000>;
302 regulator-max-microvolt = <3600000>;
303 regulator-enable-ramp-delay = <185>;
307 regulator-name = "va";
308 regulator-min-microvolt = <2800000>;
309 regulator-max-microvolt = <2800000>;
310 regulator-enable-ramp-delay = <216>;
311 regulator-always-on;
312 regulator-boot-on;
316 regulator-name = "vcama";
317 regulator-min-microvolt = <1500000>;
318 regulator-max-microvolt = <2800000>;
319 regulator-enable-ramp-delay = <216>;
323 regulator-name = "vio28";
324 regulator-min-microvolt = <2800000>;
325 regulator-max-microvolt = <2800000>;
326 regulator-enable-ramp-delay = <216>;
327 regulator-always-on;
328 regulator-boot-on;
332 regulator-name = "vusb";
333 regulator-min-microvolt = <3300000>;
334 regulator-max-microvolt = <3300000>;
335 regulator-enable-ramp-delay = <216>;
336 regulator-boot-on;
340 regulator-name = "vmc";
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <3300000>;
343 regulator-enable-ramp-delay = <36>;
344 regulator-boot-on;
348 regulator-name = "vmch";
349 regulator-min-microvolt = <3000000>;
350 regulator-max-microvolt = <3300000>;
351 regulator-enable-ramp-delay = <36>;
352 regulator-boot-on;
356 regulator-name = "vemc3v3";
357 regulator-min-microvolt = <3000000>;
358 regulator-max-microvolt = <3300000>;
359 regulator-enable-ramp-delay = <36>;
360 regulator-boot-on;
364 regulator-name = "vgp1";
365 regulator-min-microvolt = <1200000>;
366 regulator-max-microvolt = <3300000>;
367 regulator-enable-ramp-delay = <216>;
371 regulator-name = "vgp2";
372 regulator-min-microvolt = <1200000>;
373 regulator-max-microvolt = <3000000>;
374 regulator-enable-ramp-delay = <216>;
378 regulator-name = "vgp3";
379 regulator-min-microvolt = <1200000>;
380 regulator-max-microvolt = <1800000>;
381 regulator-enable-ramp-delay = <216>;
385 regulator-name = "vcn18";
386 regulator-min-microvolt = <1800000>;
387 regulator-max-microvolt = <1800000>;
388 regulator-enable-ramp-delay = <216>;
392 regulator-name = "vsim1";
393 regulator-min-microvolt = <1800000>;
394 regulator-max-microvolt = <3000000>;
395 regulator-enable-ramp-delay = <216>;
399 regulator-name = "vsim2";
400 regulator-min-microvolt = <1800000>;
401 regulator-max-microvolt = <3000000>;
402 regulator-enable-ramp-delay = <216>;
406 regulator-name = "vrtc";
407 regulator-min-microvolt = <2800000>;
408 regulator-max-microvolt = <2800000>;
409 regulator-always-on;
410 regulator-boot-on;
414 regulator-name = "vcamaf";
415 regulator-min-microvolt = <1200000>;
416 regulator-max-microvolt = <3300000>;
417 regulator-enable-ramp-delay = <216>;
421 regulator-name = "vibr";
422 regulator-min-microvolt = <1200000>;
423 regulator-max-microvolt = <3300000>;
424 regulator-enable-ramp-delay = <36>;
428 regulator-name = "vrf18";
429 regulator-min-microvolt = <1825000>;
430 regulator-max-microvolt = <1825000>;
431 regulator-enable-ramp-delay = <187>;
435 regulator-name = "vm";
436 regulator-min-microvolt = <1200000>;
437 regulator-max-microvolt = <1800000>;
438 regulator-enable-ramp-delay = <216>;
439 regulator-always-on;
440 regulator-boot-on;
444 regulator-name = "vio18";
445 regulator-min-microvolt = <1800000>;
446 regulator-max-microvolt = <1800000>;
447 regulator-enable-ramp-delay = <216>;
448 regulator-always-on;
449 regulator-boot-on;
453 regulator-name = "vcamd";
454 regulator-min-microvolt = <1200000>;
455 regulator-max-microvolt = <1800000>;
456 regulator-enable-ramp-delay = <216>;
460 regulator-name = "vcamio";
461 regulator-min-microvolt = <1800000>;
462 regulator-max-microvolt = <1800000>;
463 regulator-enable-ramp-delay = <216>;
468 compatible = "mediatek,mt6323-keys";
469 mediatek,long-press-mode = <1>;
470 power-off-time-sec = <0>;
474 wakeup-source;
482 power-controller {
483 compatible = "mediatek,mt6323-pwrc";
484 #power-domain-cells = <0>;
488 compatible = "mediatek,mt6323-rtc";
492 - |
493 #include <dt-bindings/input/input.h>
494 #include <dt-bindings/interrupt-controller/arm-gic.h>
498 interrupt-controller;
499 #interrupt-cells = <2>;
501 audio-codec {
502 compatible = "mediatek,mt6358-sound";
503 Avdd-supply = <&mt6358_vaud28_reg>;
504 mediatek,dmic-mode = <0>;
508 compatible = "mediatek,mt6358-regulator";
511 regulator-name = "vdram1";
512 regulator-min-microvolt = <500000>;
513 regulator-max-microvolt = <2087500>;
514 regulator-ramp-delay = <12500>;
515 regulator-enable-ramp-delay = <0>;
516 regulator-always-on;
517 regulator-allowed-modes = <0 1>;
523 regulator-name = "vsim2";
524 regulator-min-microvolt = <1700000>;
525 regulator-max-microvolt = <3100000>;
526 regulator-enable-ramp-delay = <540>;
531 compatible = "mediatek,mt6358-rtc";
535 compatible = "mediatek,mt6358-keys";
539 wakeup-source;
548 - |
549 #include <dt-bindings/interrupt-controller/arm-gic.h>
554 interrupt-parent = <&pio>;
555 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
556 interrupt-controller;
557 #interrupt-cells = <2>;
559 audio-codec {
560 compatible = "mediatek,mt6397-codec";
564 compatible = "mediatek,mt6397-clk";
565 #clock-cells = <1>;
569 compatible = "mediatek,mt6397-pinctrl";
570 gpio-controller;
571 #gpio-cells = <2>;
575 compatible = "mediatek,mt6397-regulator";
578 regulator-name = "vpca15";
579 regulator-min-microvolt = < 850000>;
580 regulator-max-microvolt = <1350000>;
581 regulator-ramp-delay = <12500>;
582 regulator-enable-ramp-delay = <200>;
588 regulator-name = "vibr";
589 regulator-min-microvolt = <1200000>;
590 regulator-max-microvolt = <3300000>;
591 regulator-enable-ramp-delay = <218>;
596 compatible = "mediatek,mt6397-rtc";