diff options
| author | Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> | 2026-05-26 17:58:11 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-28 04:39:24 +0300 |
| commit | f6465e36353f4bc03ccb68834527655a25187d81 (patch) | |
| tree | 2df1303df2255180933df5ce4930e107b470f8c9 /include/linux | |
| parent | fdb9bf7f1658709dd1a6f85f07e18393efd569e9 (diff) | |
| download | linux-f6465e36353f4bc03ccb68834527655a25187d81.tar.xz | |
net: phy: air_an8801: ensure maximum available speed link use
To ensure that the Airoha AN8801R PHY uses the maximum available link
speed, an additional register write is needed to configure the function
mode for either 1G or 100M/10M operation after link detection.
So, in air_an8801 driver, implement a custom read_status callback, that
after genphy_read_status determines the link speed, sets the bit 0 of
the link mode register (REG_LINK_MODE) if the detected speed is 1Gbps,
or unsets it otherwise.
Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260526-add-airoha-an8801-support-v5-6-01aea8dee69b@collabora.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
