aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorTan Tee Min <[email protected]>2022-11-08 18:15:27 +0800
committerJakub Kicinski <[email protected]>2022-11-09 19:20:21 -0800
commit13bd85580b85768238cf726dec0ddd89c06a230a (patch)
tree41c3941dd77aa24cbc2e861aedd0a91c5b2d6aa3 /tools/perf/scripts/python/stat-cpi.py
parent470765e4e1c813564bfc00f53b78896d7f336424 (diff)
net: phy: dp83867: add TI PHY loopback
The existing genphy_loopback() is not working for TI DP83867 PHY as it will disable autoneg support while another side is still enabling autoneg. This is causing the link is not established and results in timeout error in genphy_loopback() function. Thus, based on TI PHY datasheet, introduce a TI PHY loopback function by just configuring BMCR_LOOPBACK(Bit-9) in MII_BMCR register (0x0). Tested working on TI DP83867 PHY for all speeds (10/100/1000Mbps). Signed-off-by: Tan Tee Min <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions