[PATCH v2 1/2] dt-bindings: connector: Add regulator-connector binding

Zev Weiss zev at bewilderbeest.net
Fri May 6 09:25:56 AEST 2022


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

Signed-off-by: Zev Weiss <zev at bewilderbeest.net>
---
 .../connector/regulator-connector.yaml        | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/connector/regulator-connector.yaml

diff --git a/Documentation/devicetree/bindings/connector/regulator-connector.yaml b/Documentation/devicetree/bindings/connector/regulator-connector.yaml
new file mode 100644
index 000000000000..96825b6f608a
--- /dev/null
+++ b/Documentation/devicetree/bindings/connector/regulator-connector.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/connector/regulator-connector.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Regulator output connector
+
+maintainers:
+  - Zev Weiss <zev at bewilderbeest.net>
+
+description: |
+  This describes a power 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-connector
+
+  vout-supply:
+    description:
+      Phandle of the regulator supplying the connector.
+
+required:
+  - compatible
+  - vout-supply
+
+additionalProperties: false
+
+examples:
+  - |
+      output {
+          compatible = "regulator-connector";
+          vout-supply = <&output_reg>;
+      };
-- 
2.36.0



More information about the openbmc mailing list