[PATCH net-next 0/2] net: axienet: Dynamically enable MDIO interface

Radhey Shyam Pandey radhey.shyam.pandey at xilinx.com
Tue Nov 3 06:26:08 EST 2020


This patchset dynamically enable MDIO interface. The background for this
change is coming from Cadence GEM controller(macb) in which MDC is active 
only during MDIO read or write operations while the PHY registers are
read or written. It is implemented as an IP feature. 

For axiethernet as dynamic MDC enable/disable is not supported in hw
we are implementing it in sw. This change doesn't affect any existing
functionality.

Clayton Rayment (1):
  net: xilinx: axiethernet: Enable dynamic MDIO MDC

Radhey Shyam Pandey (1):
  net: xilinx: axiethernet: Introduce helper functions for MDC
    enable/disable

 drivers/net/ethernet/xilinx/xilinx_axienet.h      |  2 +
 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 21 ++-------
 drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c | 56 ++++++++++++++++++-----
 3 files changed, 51 insertions(+), 28 deletions(-)

-- 
2.7.4




More information about the linux-arm-kernel mailing list