OSDN Git Service

net: phy: add qca8081 cdt feature
authorLuo Jie <luoj@codeaurora.org>
Sun, 24 Oct 2021 08:27:38 +0000 (16:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2021 13:04:18 +0000 (14:04 +0100)
commit8c84d7528d8d84e625f548e74d4959c6f7b7cb52
treee38821eb631a39b86940ecebfb43af5cb7380613
parent8bc1c5430c4bbeaa2b0b5d5ca147ce85d492c775
net: phy: add qca8081 cdt feature

To perform CDT of qca8081 phy:
1. disable hibernation.
2. force phy working in MDI mode.
3. force phy working in 1000BASE-T mode.
4. configure the related thresholds.

Signed-off-by: Luo Jie <luoj@codeaurora.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c