net: phy: Add gmiitorgmii converter support
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 27 Nov 2018 06:19:11 +0000 (11:49 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:41:27 +0000 (09:41 +0200)
commitf41e588c033f31cdf4b1f1c70fac2e0264c6c4db
tree918bec7b3550961f54ffe517db2efc490d314b3c
parent83a0e8054e2bf7c2adb95a00af8ec641d19eb4df
net: phy: Add gmiitorgmii converter support

This patch adds support for gmiitorgmii converter.
This converter sits between the MAC and the external phy
MAC <==> GMII2RGMII <==> RGMII_PHY.
The ethernet driver probes this bridge and this bridge driver
probes real phy driver and invokes the real phy functionalities
as requested. This bridge just needs to be configured based on
real phy negotiated speed and duplex.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/phy.c
drivers/net/phy/xilinx_gmii2rgmii.c [new file with mode: 0644]
include/phy.h