[PATCH net-next v1 1/7] dt-bindings: net: pse-dt: add bindings for generic PSE controller

From: Oleksij Rempel
Date: Fri Aug 19 2022 - 08:01:39 EST


Add binding for generic Ethernet PSE controller.

Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
---
.../bindings/net/pse-pd/generic-pse.yaml | 40 +++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml

diff --git a/Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml b/Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml
new file mode 100644
index 0000000000000..64f91efa79a56
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/pse-pd/generic-pse.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/pse-pd/generic-pse.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Generic Power Sourcing Equipment
+
+maintainers:
+ - Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
+
+description: |
+ Generic PSE controller. The device must be referenced by the PHY node
+ to control power injection to the Ethernet cable.
+
+properties:
+ compatible:
+ const: ieee802.3-podl-pse-generic
+
+ '#pse-cells':
+ const: 0
+
+ ieee802.3-podl-pse-supply:
+ description: |
+ Power supply for the PSE controller
+
+additionalProperties: false
+
+required:
+ - compatible
+ - '#pse-cells'
+ - ieee802.3-podl-pse-supply
+
+examples:
+ - |
+ ethernet-pse-1 {
+ compatible = "ieee802.3-podl-pse-generic";
+ ieee802.3-podl-pse-supply = <&reg_t1l1>;
+ #pse-cells = <0>;
+ };
--
2.30.2