linux/drivers/net/phy/qcom
Maxime Chevallier 285fd58885 net: phy: at803x: Use a helper to check for phy reset existence
The at803x family of devices are subjected to an errata that requires
hard-reseting the PHY upon link change.

That can only work if there's a physical reset line wired to the PHY,
which the driver checks by looking if there's a reset GPIO configured
for the MDIO device.

The reset may however be controlled through a reset controller, which
isn't accounted for in the errata handling.

Besides that, PHY drivers aren't expected to directly access the
mdiodev's resources directly, let's therefore wrap this with a phylib
helper, that uses a similar mdio helper to check for reset existence.

This was found in preparation for bus-level resource management for
better mdio scan support.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Link: https://patch.msgid.link/20260715101355.88536-1-maxime.chevallier@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-07-17 15:43:32 +02:00
..
at803x.c net: phy: at803x: Use a helper to check for phy reset existence 2026-07-17 15:43:32 +02:00
Kconfig net: phy: qcom: at803x: Add Qualcomm IPQ5018 Internal PHY support 2025-06-23 11:14:05 -07:00
Makefile
qca83xx.c net: phy: Constify struct mdio_device_id 2025-01-14 15:01:32 -08:00
qca807x.c net: phy: qcom: qca807x: normalize return value of gpio_get 2026-02-20 16:09:07 -08:00
qca808x.c net: phy: qcom: qca808x: Support PHY counter 2025-07-17 18:35:50 -07:00
qcom-phy-lib.c net: phy: qcom: Add PHY counter support 2025-07-17 18:35:50 -07:00
qcom.h net: phy: qcom: Add PHY counter support 2025-07-17 18:35:50 -07:00