diff options
| author | 2026-10-02 23:04:08 +0200 | |
|---|---|---|
| committer | 2026-10-16 08:14:51 -0700 | |
| commit | 17baf30a0e64cde0e8a30723b7c6d06417152514 (patch) | |
| tree | b658f3edf9cd1644c1ee73f1a291aa9d987aa400 /scripts/Makefile.thinlto | |
| parent | net: ethernet: micrel: ks8842: use dmaengine_submit() instead of ->tx_submit() (diff) | |
net: phy: qcom: at803x: Apply IPQ5018 analog settings at probe
ipq5018_probe() pulses the PHY reset, after which the IPQ5018 internal
GE PHY starts autonegotiating with its reset-default analog settings.
ipq5018_config_init() writes the analog settings only when the MAC
attaches the PHY, usually when the interface is opened. On a board
where the PHY connects to a QCA8337 PHY without a cable, 1000BASE-T
does not come up in the meantime, SmartSpeed downshifts both PHYs, and
only the IPQ5018 side restores its 1000BASE-T advertisement at attach,
so the link stays down.
Apply the analog settings in probe right after the reset and restart
autonegotiation. Move the settings into a helper shared with
config_init() and return MDIO errors from it instead of ignoring them.
The values written do not change, only the time of the write.
Fixes: d46502279a11 ("net: phy: qcom: at803x: Add Qualcomm IPQ5018 Internal PHY support")
Signed-off-by: Yongzhao Chen <yongzhao.derek@gmail.com>
Link: https://patch.msgid.link/20261002210408.730-1-yongzhao.derek@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
