[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210930073822.2709955-2-horatiu.vultur@microchip.com>
Date: Thu, 30 Sep 2021 09:38:20 +0200
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: <kishon@...com>, <vkoul@...nel.org>, <robh+dt@...nel.org>,
<andrew@...n.ch>, <linux@...linux.org.uk>,
<alexandre.belloni@...tlin.com>, <linux-phy@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: Horatiu Vultur <horatiu.vultur@...rochip.com>
Subject: [PATCH 1/3] dt-bindings: phy: Add lan966x-serdes binding
Document the lan966x ethernet serdes phy driver bindings.
Signed-off-by: Horatiu Vultur <horatiu.vultur@...rochip.com>
---
.../phy/microchip,lan966x-serdes.yaml | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml
diff --git a/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml b/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml
new file mode 100644
index 000000000000..03a2854a2b09
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/microchip,lan966x-serdes.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microchip Lan966x Serdes controller
+
+maintainers:
+ - Horatiu Vultur <horatiu.vultur@...rochip.com>
+
+properties:
+ $nodename:
+ pattern: "serdes"
+
+ compatible:
+ const: microchip,lan966x-serdes
+
+ switch-syscon:
+ description: |
+ Handle to general configuration block
+ maxItems: 1
+
+ '#phy-cells':
+ const: 2
+ description: |
+ First argument represents the port index,
+ the second one represents the serdes index.
+
+required:
+ - compatible
+ - '#phy-cells'
+ - switch-syscon
+
+additionalProperties: false
+
+examples:
+ - |
+ serdes: serdes {
+ compatible = "microchip,lan966x-serdes";
+ #phy-cells = <2>;
+ switch-syscon = <&switch_ctrl>;
+ };
+
+...
--
2.33.0
Powered by blists - more mailing lists