Commit 90a801d5 authored by Saravanan Sekar's avatar Saravanan Sekar Committed by Guenter Roeck
Browse files

regulator: dt-bindings: Add mps,mpq2286 power-management IC

parent b1a55c0a
Loading
Loading
Loading
Loading
+59 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/mps,mpq2286.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Monolithic Power System MPQ2286 PMIC

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

properties:
  compatible:
    enum:
      - mps,mpq2286

  reg:
    maxItems: 1

  regulators:
    type: object

    properties:
      buck:
        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,mpq2286";
            reg = <0x3>;

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