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

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/regulator/mediatek,mt6331-regulator.yaml
Extension
.yaml
Size
8624 bytes
Lines
281
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,mt6331-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MT6331 Regulator from MediaTek Integrated

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

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

properties:
  compatible:
    const: mediatek,mt6331-regulator

patternProperties:
  "^buck-v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$"

    unevaluatedProperties: false

  "^ldo-(avdd32aud|vauxa32)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^(avdd32_aud|vauxa32)$"

    unevaluatedProperties: false

  "^ldo-v(dig18|emc33|ibr|io28|mc|mch|mipi|rtc|sim1|sim2|sram|usb10)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^v(dig18|emc33|ibr|io28|mc|mch|mipi|rtc|sim1|sim2|sram|usb)$"

    unevaluatedProperties: false

  "^ldo-vcam(a|af|d|io)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^vcam(a|_af|d|io)$"

    unevaluatedProperties: false

  "^ldo-vtcxo[12]$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^vtcxo[12]$"

Annotation

Implementation Notes