Skip to content

Commit 14e710d

Browse files
Luo Jiekuba-moo
authored andcommitted
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 <maxime.chevallier@bootlin.com> Signed-off-by: Luo Jie <quic_luoj@quicinc.com> Link: https://patch.msgid.link/20250718-qca807x_wol_support-v1-1-cfe323cbb4e8@quicinc.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent c521b8c commit 14e710d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/net/phy/qcom/qca807x.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,8 @@ static struct phy_driver qca807x_drivers[] = {
823823
.cable_test_get_status = qca808x_cable_test_get_status,
824824
.update_stats = qca807x_update_stats,
825825
.get_phy_stats = qca807x_get_phy_stats,
826+
.set_wol = at8031_set_wol,
827+
.get_wol = at803x_get_wol,
826828
},
827829
{
828830
PHY_ID_MATCH_EXACT(PHY_ID_QCA8075),
@@ -848,6 +850,8 @@ static struct phy_driver qca807x_drivers[] = {
848850
.led_hw_control_get = qca807x_led_hw_control_get,
849851
.update_stats = qca807x_update_stats,
850852
.get_phy_stats = qca807x_get_phy_stats,
853+
.set_wol = at8031_set_wol,
854+
.get_wol = at803x_get_wol,
851855
},
852856
};
853857
module_phy_driver(qca807x_drivers);

0 commit comments

Comments
 (0)