Mediatek MT6315 Regulator

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

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

Maintainers (maintainers): "Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>"

The MT6315 is a power management IC (PMIC) configurable with SPMI. that contains 4 BUCKs output which can combine with each other by different efuse settings.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

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

Item 2

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

Rule 2

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

reg — required here #

Maximum number of items (maxItems): 1

regulators — required here #

Value type (type): "object"

List of regulators and its properties

Properties matching a name pattern (patternProperties) #

^vbuck[1-4]$ — name matches this regular expression

Value type (type): "object"

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

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "regulators"

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

false

Not allowed by this rule.

Examples (examples) #

pmic@6 {
  compatible = "mediatek,mt6315-regulator";
  reg = <0x6 0>;

  regulators {
    vbuck1 {
      regulator-min-microvolt = <300000>;
      regulator-max-microvolt = <1193750>;
      regulator-enable-ramp-delay = <256>;
      regulator-allowed-modes = <0 1 2>;
    };

    vbuck3 {
      regulator-min-microvolt = <300000>;
      regulator-max-microvolt = <1193750>;
      regulator-enable-ramp-delay = <256>;
      regulator-allowed-modes = <0 1 2>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page