mirror-linux/drivers/net/phy/qcom
Russell King (Oracle) 30dc587396 net: phy: qcom: at803x: Avoid hibernating if MAC requires RX clock
Stmmac controllers connected to an at803x PHY cannot resume properly after
suspend when WoL is enabled. This happens because the MAC requires an RX
clock generated by the PHY to initialize its hardware properly. But the RX
clock is cut when the PHY suspends and isn't brought up until the MAC
driver resumes the phylink.

Prevent the at803x PHY driver from going into suspend if the attached MAC
driver always requires an RX clock signal.

Reported-by: Clark Wang <xiaoning.wang@nxp.com>
Link: https://lore.kernel.org/all/20230202081559.3553637-1-xiaoning.wang@nxp.com/
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
[rgantois: commit log]
Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240326-rxc_bugfix-v6-6-24a74e5c761f@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-28 19:21:34 -07:00
..
Kconfig net: phy: qcom: add support for QCA807x PHY Family 2024-02-10 15:36:19 +00:00
Makefile net: phy: qcom: add support for QCA807x PHY Family 2024-02-10 15:36:19 +00:00
at803x.c net: phy: qcom: at803x: Avoid hibernating if MAC requires RX clock 2024-03-28 19:21:34 -07:00
qca83xx.c net: phy: qcom: deatch qca83xx PHY driver from at803x 2024-01-31 16:25:17 -08:00
qca807x.c net: phy: qca807x: fix compilation when CONFIG_GPIOLIB is not set 2024-03-06 20:39:29 -08:00
qca808x.c net: phy: qcom: qca808x: fill in possible_interfaces 2024-03-01 08:56:39 +00:00
qcom-phy-lib.c net: phy: qcom: generalize some qca808x LED functions 2024-02-10 15:36:20 +00:00
qcom.h net: phy: qcom: generalize some qca808x LED functions 2024-02-10 15:36:20 +00:00