Documentation/devicetree/bindings/regulator/mediatek,mt6332-regulator.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/regulator/mediatek,mt6332-regulator.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/regulator/mediatek,mt6332-regulator.yaml
Extension
.yaml
Size
3593 bytes
Lines
120
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/mediatek,mt6332-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MT6332 Regulator from MediaTek Integrated

maintainers:
  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

description: |
  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:
  compatible:
    const: mediatek,mt6332-regulator

patternProperties:
  "^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^v(dram|dvfs2|pa|rf18a|rf18b|sbst)$"

    unevaluatedProperties: false

  "^ldo-v(bif28|dig18|sram|usb33)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^v(bif28|dig18|sram|usb33)$"

    unevaluatedProperties: false

required:
  - compatible

additionalProperties: false

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>;

Annotation

Implementation Notes