MT6332 Regulator from MediaTek Integrated

Schema identifier ($id): "http://devicetree.org/schemas/regulator/mediatek,mt6332-regulator.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"

The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout) regulators and nodes are named according to the regulator type: buck-<name> and ldo-<name>. MT6332 regulators node should be sub node of the MT6397 MFD node.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt6332-regulator"

Properties matching a name pattern (patternProperties) #

^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): regulator.yaml#

Properties and child nodes (properties) #

regulator-name — not listed as required here

String pattern (pattern): "^v(dram|dvfs2|pa|rf18a|rf18b|sbst)$"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

^ldo-v(bif28|dig18|sram|usb33)$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): regulator.yaml#

Properties and child nodes (properties) #

regulator-name — not listed as required here

String pattern (pattern): "^v(bif28|dig18|sram|usb33)$"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pmic {
  regulators {
    mt6332_vdram_reg: buck-vdram {
      regulator-name = "vdram";
      regulator-min-microvolt = <700000>;
      regulator-max-microvolt = <1493750>;
      regulator-ramp-delay = <12500>;
      regulator-allowed-modes = <0 1>;
      regulator-always-on;
    };
    mt6332_vdvfs2_reg: buck-vdvfs2 {
      regulator-name = "vdvfs2";
      regulator-min-microvolt = <700000>;
      regulator-max-microvolt = <1312500>;
      regulator-ramp-delay = <12500>;
      regulator-enable-ramp-delay = <1>;
      regulator-allowed-modes = <0 1>;
    };
    mt6332_vpa_reg: buck-vpa {
      regulator-name = "vpa";
      regulator-min-microvolt = <500000>;
      regulator-max-microvolt = <3400000>;
    };
    mt6332_vrf18a_reg: buck-vrf18a {
      regulator-name = "vrf18a";
      regulator-min-microvolt = <1050000>;
      regulator-max-microvolt = <2240625>;
      regulator-allowed-modes = <0 1>;
    };
    mt6332_vrf18b_reg: buck-vrf18b {
      regulator-name = "vrf18b";
      regulator-min-microvolt = <1050000>;
      regulator-max-microvolt = <2240625>;
      regulator-allowed-modes = <0 1>;
    };
    mt6332_vsbst_reg: buck-vsbst {
      regulator-name = "vsbst";
      regulator-min-microvolt = <3500000>;
      regulator-max-microvolt = <7468750>;
    };
    mt6332_vauxb32_reg: ldo-vauxb32 {
      regulator-name = "vauxb32";
      regulator-min-microvolt = <2800000>;
      regulator-max-microvolt = <3200000>;
    };
    mt6332_vbif28_reg: ldo-vbif28 {
      regulator-name = "vbif28";
      regulator-min-microvolt = <2800000>;
      regulator-max-microvolt = <2800000>;
    };
    mt6332_vdig18_reg: ldo-vdig18 {
      regulator-name = "vdig18";
      regulator-min-microvolt = <1200000>;
      regulator-max-microvolt = <1800000>;
      regulator-always-on;
    };
    mt6332_vsram_reg: ldo-vsram {
      regulator-name = "vauxa32";
      regulator-min-microvolt = <700000>;
      regulator-max-microvolt = <1493750>;
      regulator-always-on;
    };
    mt6332_vusb33_reg: ldo-vusb33 {
      regulator-name = "vusb33";
      regulator-min-microvolt = <3300000>;
      regulator-max-microvolt = <3300000>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page