xref: /freebsd-src/sys/contrib/device-tree/Bindings/regulator/mediatek,mt6332-regulator.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
27ef62cebSEmmanuel Vadot%YAML 1.2
37ef62cebSEmmanuel Vadot---
47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/mediatek,mt6332-regulator.yaml#
57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67ef62cebSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: MT6332 Regulator from MediaTek Integrated
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
117ef62cebSEmmanuel Vadot
127ef62cebSEmmanuel Vadotdescription: |
137ef62cebSEmmanuel Vadot  The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout)
147ef62cebSEmmanuel Vadot  regulators and nodes are named according to the regulator type:
157ef62cebSEmmanuel Vadot  buck-<name> and ldo-<name>.
167ef62cebSEmmanuel Vadot  MT6332 regulators node should be sub node of the MT6397 MFD node.
177ef62cebSEmmanuel Vadot
187ef62cebSEmmanuel VadotpatternProperties:
197ef62cebSEmmanuel Vadot  "^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$":
207ef62cebSEmmanuel Vadot    type: object
21*fac71e4eSEmmanuel Vadot    $ref: regulator.yaml#
227ef62cebSEmmanuel Vadot
237ef62cebSEmmanuel Vadot    properties:
247ef62cebSEmmanuel Vadot      regulator-name:
257ef62cebSEmmanuel Vadot        pattern: "^v(dram|dvfs2|pa|rf18a|rf18b|sbst)$"
267ef62cebSEmmanuel Vadot
277ef62cebSEmmanuel Vadot    unevaluatedProperties: false
287ef62cebSEmmanuel Vadot
297ef62cebSEmmanuel Vadot  "^ldo-v(bif28|dig18|sram|usb33)$":
307ef62cebSEmmanuel Vadot    type: object
31*fac71e4eSEmmanuel Vadot    $ref: regulator.yaml#
327ef62cebSEmmanuel Vadot
337ef62cebSEmmanuel Vadot    properties:
347ef62cebSEmmanuel Vadot      regulator-name:
357ef62cebSEmmanuel Vadot        pattern: "^v(bif28|dig18|sram|usb33)$"
367ef62cebSEmmanuel Vadot
377ef62cebSEmmanuel Vadot    unevaluatedProperties: false
387ef62cebSEmmanuel Vadot
397ef62cebSEmmanuel VadotadditionalProperties: false
407ef62cebSEmmanuel Vadot
417ef62cebSEmmanuel Vadotexamples:
427ef62cebSEmmanuel Vadot  - |
437ef62cebSEmmanuel Vadot    pmic {
447ef62cebSEmmanuel Vadot      regulators {
457ef62cebSEmmanuel Vadot        mt6332_vdram_reg: buck-vdram {
467ef62cebSEmmanuel Vadot          regulator-name = "vdram";
477ef62cebSEmmanuel Vadot          regulator-min-microvolt = <700000>;
487ef62cebSEmmanuel Vadot          regulator-max-microvolt = <1493750>;
497ef62cebSEmmanuel Vadot          regulator-ramp-delay = <12500>;
507ef62cebSEmmanuel Vadot          regulator-allowed-modes = <0 1>;
517ef62cebSEmmanuel Vadot          regulator-always-on;
527ef62cebSEmmanuel Vadot        };
537ef62cebSEmmanuel Vadot        mt6332_vdvfs2_reg: buck-vdvfs2 {
547ef62cebSEmmanuel Vadot          regulator-name = "vdvfs2";
557ef62cebSEmmanuel Vadot          regulator-min-microvolt = <700000>;
567ef62cebSEmmanuel Vadot          regulator-max-microvolt = <1312500>;
577ef62cebSEmmanuel Vadot          regulator-ramp-delay = <12500>;
587ef62cebSEmmanuel Vadot          regulator-enable-ramp-delay = <1>;
597ef62cebSEmmanuel Vadot          regulator-allowed-modes = <0 1>;
607ef62cebSEmmanuel Vadot        };
617ef62cebSEmmanuel Vadot        mt6332_vpa_reg: buck-vpa {
627ef62cebSEmmanuel Vadot          regulator-name = "vpa";
637ef62cebSEmmanuel Vadot          regulator-min-microvolt = <500000>;
647ef62cebSEmmanuel Vadot          regulator-max-microvolt = <3400000>;
657ef62cebSEmmanuel Vadot        };
667ef62cebSEmmanuel Vadot        mt6332_vrf18a_reg: buck-vrf18a {
677ef62cebSEmmanuel Vadot          regulator-name = "vrf18a";
687ef62cebSEmmanuel Vadot          regulator-min-microvolt = <1050000>;
697ef62cebSEmmanuel Vadot          regulator-max-microvolt = <2240625>;
707ef62cebSEmmanuel Vadot          regulator-allowed-modes = <0 1>;
717ef62cebSEmmanuel Vadot        };
727ef62cebSEmmanuel Vadot        mt6332_vrf18b_reg: buck-vrf18b {
737ef62cebSEmmanuel Vadot          regulator-name = "vrf18b";
747ef62cebSEmmanuel Vadot          regulator-min-microvolt = <1050000>;
757ef62cebSEmmanuel Vadot          regulator-max-microvolt = <2240625>;
767ef62cebSEmmanuel Vadot          regulator-allowed-modes = <0 1>;
777ef62cebSEmmanuel Vadot        };
787ef62cebSEmmanuel Vadot        mt6332_vsbst_reg: buck-vsbst {
797ef62cebSEmmanuel Vadot          regulator-name = "vsbst";
807ef62cebSEmmanuel Vadot          regulator-min-microvolt = <3500000>;
817ef62cebSEmmanuel Vadot          regulator-max-microvolt = <7468750>;
827ef62cebSEmmanuel Vadot        };
837ef62cebSEmmanuel Vadot        mt6332_vauxb32_reg: ldo-vauxb32 {
847ef62cebSEmmanuel Vadot          regulator-name = "vauxb32";
857ef62cebSEmmanuel Vadot          regulator-min-microvolt = <2800000>;
867ef62cebSEmmanuel Vadot          regulator-max-microvolt = <3200000>;
877ef62cebSEmmanuel Vadot        };
887ef62cebSEmmanuel Vadot        mt6332_vbif28_reg: ldo-vbif28 {
897ef62cebSEmmanuel Vadot          regulator-name = "vbif28";
907ef62cebSEmmanuel Vadot          regulator-min-microvolt = <2800000>;
917ef62cebSEmmanuel Vadot          regulator-max-microvolt = <2800000>;
927ef62cebSEmmanuel Vadot        };
937ef62cebSEmmanuel Vadot        mt6332_vdig18_reg: ldo-vdig18 {
947ef62cebSEmmanuel Vadot          regulator-name = "vdig18";
957ef62cebSEmmanuel Vadot          regulator-min-microvolt = <1200000>;
967ef62cebSEmmanuel Vadot          regulator-max-microvolt = <1800000>;
977ef62cebSEmmanuel Vadot          regulator-always-on;
987ef62cebSEmmanuel Vadot        };
997ef62cebSEmmanuel Vadot        mt6332_vsram_reg: ldo-vsram {
1007ef62cebSEmmanuel Vadot          regulator-name = "vauxa32";
1017ef62cebSEmmanuel Vadot          regulator-min-microvolt = <700000>;
1027ef62cebSEmmanuel Vadot          regulator-max-microvolt = <1493750>;
1037ef62cebSEmmanuel Vadot          regulator-always-on;
1047ef62cebSEmmanuel Vadot        };
1057ef62cebSEmmanuel Vadot        mt6332_vusb33_reg: ldo-vusb33 {
1067ef62cebSEmmanuel Vadot          regulator-name = "vusb33";
1077ef62cebSEmmanuel Vadot          regulator-min-microvolt = <3300000>;
1087ef62cebSEmmanuel Vadot          regulator-max-microvolt = <3300000>;
1097ef62cebSEmmanuel Vadot        };
1107ef62cebSEmmanuel Vadot      };
1117ef62cebSEmmanuel Vadot    };
1127ef62cebSEmmanuel Vadot...
113