Documentation/devicetree/bindings/regulator/mps,mpq7932.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/regulator/mps,mpq7932.yaml
Extension
.yaml
Size
1500 bytes
Lines
69
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-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/mps,mpq7932.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Monolithic Power System MPQ7932 PMIC

maintainers:
  - Saravanan Sekar <saravanan@linumiz.com>

properties:
  compatible:
    enum:
      - mps,mpq7932

  reg:
    maxItems: 1

  regulators:
    type: object
    description: |
      list of regulators provided by this controller, must be named
      after their hardware counterparts BUCK[1-6]

    patternProperties:
      "^buck[1-6]$":
        type: object
        $ref: regulator.yaml#
        unevaluatedProperties: false

    additionalProperties: false

required:
  - compatible
  - reg
  - regulators

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        pmic@3 {
            compatible = "mps,mpq7932";
            reg = <0x3>;

            regulators {
                buck1 {
                    regulator-name = "buck1";
                    regulator-min-microvolt = <1600000>;
                    regulator-max-microvolt = <1800000>;
                    regulator-boot-on;
                };

                buck2 {
                    regulator-name = "buck2";
                    regulator-min-microvolt = <1700000>;
                    regulator-max-microvolt = <1800000>;
                    regulator-boot-on;
                };
            };
        };
    };
...

Annotation

Implementation Notes