From 14e710d7080f7b5bf230c4ee1b417df8dc0c5ac6 Mon Sep 17 00:00:00 2001 From: Luo Jie Date: Fri, 18 Jul 2025 21:57:48 +0800 Subject: [PATCH] net: phy: qcom: qca807x: Enable WoL support using shared library The Wake-on-LAN (WoL) functionality for the QCA807x series is identical to that of the AT8031. WoL support for QCA807x is enabled by utilizing the at8031_set_wol() function provided in the shared library. Reviewed-by: Maxime Chevallier Signed-off-by: Luo Jie Link: https://patch.msgid.link/20250718-qca807x_wol_support-v1-1-cfe323cbb4e8@quicinc.com Signed-off-by: Jakub Kicinski --- drivers/net/phy/qcom/qca807x.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/phy/qcom/qca807x.c b/drivers/net/phy/qcom/qca807x.c index 291f052ea53c4..04e84ebb646c0 100644 --- a/drivers/net/phy/qcom/qca807x.c +++ b/drivers/net/phy/qcom/qca807x.c @@ -823,6 +823,8 @@ static struct phy_driver qca807x_drivers[] = { .cable_test_get_status = qca808x_cable_test_get_status, .update_stats = qca807x_update_stats, .get_phy_stats = qca807x_get_phy_stats, + .set_wol = at8031_set_wol, + .get_wol = at803x_get_wol, }, { PHY_ID_MATCH_EXACT(PHY_ID_QCA8075), @@ -848,6 +850,8 @@ static struct phy_driver qca807x_drivers[] = { .led_hw_control_get = qca807x_led_hw_control_get, .update_stats = qca807x_update_stats, .get_phy_stats = qca807x_get_phy_stats, + .set_wol = at8031_set_wol, + .get_wol = at803x_get_wol, }, }; module_phy_driver(qca807x_drivers); -- 2.47.2