dt-bindings: net: xilinx_gmii2rgmii: Convert to json schema
Subsystems (4)
PATCH v3 1/1 dt-bindings: net: xilinx_gmii2rgmii: Convert to json schema
From: Pranavi Somisetty <[email protected]>
Convert the Xilinx GMII to RGMII Converter device tree binding documentation to json schema.
This converter is usually used as gem <---> gmii2rgmii <---> external phy and, it's phy-handle should point to the phandle of the external phy.
---
v3 changes:
- Add new line before child nodes in example.
- Add Conor's review tag
.../bindings/net/xilinx_gmii2rgmii.txt | 35 ------------ .../bindings/net/xlnx,gmii-to-rgmii.yaml | 55 +++++++++++++++++++ 2 files changed, 55 insertions(+), 35 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt create mode 100644 Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml
Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt deleted +0 -35
@@ -1,35 +0,0 @@ -XILINX GMIITORGMII Converter Driver Device Tree Bindings --------------------------------------------------------- - -The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media -Independent Interface (RGMII) core provides the RGMII between RGMII-compliant -Ethernet physical media devices (PHY) and the Gigabit Ethernet controller. -This core can be used in all three modes of operation(10/100/1000 Mb/s). -The Management Data Input/Output (MDIO) interface is used to configure the -Speed of operation. This core can switch dynamically between the three -Different speed modes by configuring the conveter register through mdio write. - -This converter sits between the ethernet MAC and the external phy. -MAC <==> GMII2RGMII <==> RGMII_PHY - -For more details about mdio please refer phy.txt file in the same directory. - -Required properties: -- compatible : Should be "xlnx,gmii-to-rgmii-1.0" -- reg : The ID number for the phy, usually a small integer -- phy-handle : Should point to the external phy device. - See ethernet.txt file in the same directory. - -Example: - mdio { - #address-cells = <1>; - #size-cells = <0>; - phy: ethernet-phy@0 { - ...... - }; - gmiitorgmii: gmiitorgmii@8 { - compatible = "xlnx,gmii-to-rgmii-1.0"; - reg = <8>; - phy-handle = <&phy>; - }; - };
Documentation/devicetree/bindings/net/xlnx,gmii-to-rgmii.yaml new file +55 -0
55 lines not on this page · raw message
Signature · 1 line
2.17.1
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Quoted 8 lines · On Thu, 24 Aug 2023 17:14:56 +0530 you wrote:
From: Pranavi Somisetty <[email protected]>
Convert the Xilinx GMII to RGMII Converter device tree binding documentation to json schema.
This converter is usually used as gem <---> gmii2rgmii <---> external phy and, it's phy-handle should point to the phandle of the external phy.[...]
Here is the summary with links:
- [net-next,v3] dt-bindings: net: xilinx_gmii2rgmii: Convert to json schema
https://git.kernel.org/netdev/net-next/c/c639a708a0b8
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html