Thread (4 messages) 4 messages, 1 author, 2021-09-30
STALE1709d
Revisions (3)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]

[PATCH 1/3] dt-bindings: phy: Add lan966x-serdes binding

From: Horatiu Vultur <horatiu.vultur@microchip.com>
Date: 2021-09-30 07:39:42
Also in: linux-devicetree, lkml
Subsystem: generic phy framework, open firmware and flattened device tree bindings, the rest · Maintainers: Vinod Koul, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

Document the lan966x ethernet serdes phy driver bindings.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.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@microchip.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


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help