public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC net-next 1/2] Add en8811h bindings documentation yaml
@ 2023-12-16 19:44 Eric Woudstra
  2023-12-16 19:44 ` [PATCH RFC net-next 2/2] Add the Airoha EN8811H PHY driver Eric Woudstra
  2023-12-18  8:44 ` [PATCH RFC net-next 1/2] Add en8811h bindings documentation yaml Krzysztof Kozlowski
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Woudstra @ 2023-12-16 19:44 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andrew Lunn,
	Heiner Kallweit, Russell King, Matthias Brugger,
	AngeloGioacchino Del Regno, Frank Wunderlich, Daniel Golle,
	Lucien Jheng, Zhi-Jun You
  Cc: netdev, devicetree, Eric Woudstra

The en8811h phy can be set with serdes polarity reversed on rx and/or tx.

Signed-off-by: Eric Woudstra <ericwouds@gmail.com>
---
 .../bindings/net/airoha,en8811h.yaml          | 42 +++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/airoha,en8811h.yaml

diff --git a/Documentation/devicetree/bindings/net/airoha,en8811h.yaml b/Documentation/devicetree/bindings/net/airoha,en8811h.yaml
new file mode 100644
index 000000000000..96febd8ed6fa
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/airoha,en8811h.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/airoha,en8811h.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Airoha EN8811H PHY
+
+maintainers:
+  - Someone <someone@somemail.com>
+
+description:
+  Bindings for Airoha EN8811H PHY
+
+allOf:
+  - $ref: ethernet-phy.yaml#
+
+properties:
+  airoha,rx-pol-reverse:
+    type: boolean
+    description:
+      Reverse rx polarity of SERDES.
+
+
+  airoha,tx-pol-reverse:
+    type: boolean
+    description:
+      Reverse tx polarity of SERDES.
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    mdio {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        ethphy1: ethernet-phy@1 {
+                reg = <1>;
+                airoha,rx-pol-reverse;
+        };
+    };
-- 
2.42.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-18  8:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-16 19:44 [PATCH RFC net-next 1/2] Add en8811h bindings documentation yaml Eric Woudstra
2023-12-16 19:44 ` [PATCH RFC net-next 2/2] Add the Airoha EN8811H PHY driver Eric Woudstra
2023-12-16 20:16   ` Heiner Kallweit
2023-12-16 20:23     ` Eric Woudstra
2023-12-16 23:33   ` Andrew Lunn
2023-12-18  8:44 ` [PATCH RFC net-next 1/2] Add en8811h bindings documentation yaml Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox