[RFC PATCH v5 0/3] net: phy: Add xilinx gmiitorgmii converter support
From: Kedareswara rao Appana
Date: Tue Aug 09 2016 - 05:35:46 EST
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.
The conveter sits b/w the MAC and external phy like below
MACB <==> GMII2RGMII <==> RGMII_PHY
MDIO <========> GMII2RGMII
MCAB <=======>
<========> RGMII
Using MAC MDIO bus we can access both the converter and the external PHY.
We need to program the line speed of the converter during run time based
On the external phy negotiated speed.
This patch series does the below
---> Add mask for Control register 10Mbps speed.
---> Add support for xilinx gmiitorgmii converter.
Kedareswara rao Appana (3):
net: Add mask for Control register 10Mbps speed
Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree
binding documentation
net: phy: Add gmiitorgmii converter support
.../devicetree/bindings/net/xilinx_gmii2rgmii.txt | 38 +++++++
drivers/net/phy/Kconfig | 8 ++
drivers/net/phy/Makefile | 1 +
drivers/net/phy/xilinx_gmii2rgmii.c | 121 +++++++++++++++++++++
include/uapi/linux/mii.h | 1 +
5 files changed, 169 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt
create mode 100644 drivers/net/phy/xilinx_gmii2rgmii.c
--
2.1.2