Unverified Commit 1119c594 authored by Vincent Whitchurch's avatar Vincent Whitchurch Committed by Mark Brown
Browse files

regulator: Add DA9121



Add bindings for the Dialog Semiconductor DA9121 voltage regulator.

Signed-off-by: default avatarVincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20201103100021.19603-2-vincent.whitchurch@axis.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e6ff10f2
Loading
Loading
Loading
Loading
+47 −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/dlg,da9121.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Dialog Semiconductor DA9121 voltage regulator

maintainers:
  - Vincent Whitchurch <vincent.whitchurch@axis.com>

properties:
  compatible:
    const: dlg,da9121

  reg:
    maxItems: 1

  buck1:
    description:
      Initial data for the Buck1 regulator.
    $ref: "regulator.yaml#"
    type: object

unevaluatedProperties: false

required:
  - compatible
  - reg

examples:
  - |
    i2c {
      #address-cells = <1>;
      #size-cells = <0>;
      regulator@68 {
        compatible = "dlg,da9121";
        reg = <0x68>;

        buck1 {
          regulator-min-microvolt = <680000>;
          regulator-max-microvolt = <820000>;
        };
      };
    };

...