[RFC PATCH v2 0/4] net: ethernet: Add support for gmii2rgmii converter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This patch series does the following
---> Add support for gmii2rgmii converter.
---> Add support for gmii2rgmii converter in the macb driver.

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.

Kedareswara rao Appana (4):
  Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree
    binding documentation
  net: ethernet: xilinx: Add gmii2rgmii converter support
  Documentation: DT: net: Update binding doc for gmiitorgmii conveter
  net: macb: Add gmii2rgmii phy converter support

 Documentation/devicetree/bindings/net/macb.txt     |  4 ++
 .../devicetree/bindings/net/xilinx_gmii2rgmii.txt  | 31 +++++++++
 drivers/net/ethernet/cadence/macb.c                | 21 ++++++
 drivers/net/ethernet/cadence/macb.h                |  1 +
 drivers/net/ethernet/xilinx/Kconfig                |  8 +++
 drivers/net/ethernet/xilinx/Makefile               |  1 +
 drivers/net/ethernet/xilinx/xilinx_gmii2rgmii.c    | 79 ++++++++++++++++++++++
 include/linux/xilinx_gmii2rgmii.h                  | 24 +++++++
 8 files changed, 169 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt
 create mode 100644 drivers/net/ethernet/xilinx/xilinx_gmii2rgmii.c
 create mode 100644 include/linux/xilinx_gmii2rgmii.h

-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux