]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef7f91f0c7e2d2ba7e9f988781f8bed8c5e0a952
treee38821eb631a39b86940ecebfb43af5cb7380613
parentad9ae7f5c5f6103ad7bcec2c6eeaa2badcf920ac
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