mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
d04807b806
On the CPSW and ICSS peripherals, there is a possibility that the MDIO interface returns corrupt data on MDIO reads or writes incorrect data on MDIO writes. There is also a possibility for the MDIO interface to become unavailable until the next peripheral reset. The workaround is to configure the MDIO in manual mode and disable the MDIO state machine and emulate the MDIO protocol by reading and writing appropriate fields in MDIO_MANUAL_IF_REG register of the MDIO controller to manipulate the MDIO clock and data pins. More details about the errata i2329 and the workaround is available in: https://www.ti.com/lit/er/sprz487a/sprz487a.pdf Add implementation to disable MDIO state machine, configure MDIO in manual mode and achieve MDIO read and writes via MDIO Bitbanging Signed-off-by: Ravi Gunasekaran <r-gunasekaran@ti.com> Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
am65-cpsw-ethtool.c | ||
am65-cpsw-nuss.c | ||
am65-cpsw-nuss.h | ||
am65-cpsw-qos.c | ||
am65-cpsw-qos.h | ||
am65-cpsw-switchdev.c | ||
am65-cpsw-switchdev.h | ||
am65-cpts.c | ||
am65-cpts.h | ||
cpmac.c | ||
cpsw_ale.c | ||
cpsw_ale.h | ||
cpsw_ethtool.c | ||
cpsw_new.c | ||
cpsw_priv.c | ||
cpsw_priv.h | ||
cpsw_sl.c | ||
cpsw_sl.h | ||
cpsw_switchdev.c | ||
cpsw_switchdev.h | ||
cpsw-common.c | ||
cpsw-phy-sel.c | ||
cpsw.c | ||
cpsw.h | ||
cpts.c | ||
cpts.h | ||
davinci_cpdma.c | ||
davinci_cpdma.h | ||
davinci_emac.c | ||
davinci_mdio.c | ||
k3-cppi-desc-pool.c | ||
k3-cppi-desc-pool.h | ||
Kconfig | ||
Makefile | ||
netcp_core.c | ||
netcp_ethss.c | ||
netcp_sgmii.c | ||
netcp_xgbepcsr.c | ||
netcp.h | ||
tlan.c | ||
tlan.h |