Restore WoL (Wake-on-LAN) enablement via MMD3 register 0x8012 BIT5 for
the QCA808X PHY. This change resolves the issue where WoL functionality
was not working due to its unintended removal in a previous commit.
Refactor at8031_set_wol() into a shared library to enable reuse of the
Wake-on-LAN (WoL) functionality by the AT8031, QCA807X and QCA808X PHY
drivers.
Additionally, enable the WoL function for the QCA807X PHY by utilizing
the at8031_set_wol() function from the shared library.
Signed-off-by: Luo Jie <luoj@qti.qualcomm.com>
---
Luo Jie (3):
net: phy: qcom: move the WoL function to shared library
net: phy: qcom: qca808x: Fix WoL issue by utilizing at8031_set_wol()
net: phy: qcom: qca807x: Enable WoL support using shared library
drivers/net/phy/qcom/at803x.c | 27 ---------------------------
drivers/net/phy/qcom/qca807x.c | 4 ++++
drivers/net/phy/qcom/qca808x.c | 2 +-
drivers/net/phy/qcom/qcom-phy-lib.c | 25 +++++++++++++++++++++++++
drivers/net/phy/qcom/qcom.h | 5 +++++
5 files changed, 35 insertions(+), 28 deletions(-)
---
base-commit: 8b98f34ce1d8c520403362cb785231f9898eb3ff
change-id: 20250703-qcom_phy_wol_support-402f7178c5c9
Best regards,
--
Luo Jie <luoj@qti.qualcomm.com>