Unverified Commit 14b8ad4c authored by Zev Weiss's avatar Zev Weiss Committed by Mark Brown
Browse files

regulator: Add regulator-output binding



This describes a power output supplied by a regulator, such as a
power outlet on a power distribution unit (PDU).

Signed-off-by: default avatarZev Weiss <zev@bewilderbeest.net>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221031233704.22575-3-zev@bewilderbeest.net


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent fd184506
Loading
Loading
Loading
Loading
+39 −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/regulator-output.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Regulator output connector

maintainers:
  - Zev Weiss <zev@bewilderbeest.net>

description: |
  This describes a power output connector supplied by a regulator,
  such as a power outlet on a power distribution unit (PDU).  The
  connector may be standalone or merely one channel or set of pins
  within a ganged physical connector carrying multiple independent
  power outputs.

properties:
  compatible:
    const: regulator-output

  vout-supply:
    description:
      Phandle of the regulator supplying the output.

required:
  - compatible
  - vout-supply

additionalProperties: false

examples:
  - |
      output {
          compatible = "regulator-output";
          vout-supply = <&output_reg>;
      };