linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: phy: qcom: qca807x: Enable WoL support using shared library
@ 2025-07-18 13:57 Luo Jie
  2025-07-22  0:50 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Luo Jie @ 2025-07-18 13:57 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-arm-msm, linux-kernel, Maxime Chevallier, Luo Jie

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>
---
This patch is split from patch series [1] for the net tree. The first two
patches from that series have already been merged into net and propagated
to net-next. Based on Jakub's suggestion, the third patch should be
submitted to net-next.

1 - https://lore.kernel.org/all/20250704-qcom_phy_wol_support-v1-0-053342b1538d@quicinc.com/
---
 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 291f052ea53c..04e84ebb646c 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);

---
base-commit: d61f6cb6f6ef3c70d2ccc0d9c85c508cb8017da9
change-id: 20250714-qca807x_wol_support-dc599c835d53

Best regards,
-- 
Luo Jie <quic_luoj@quicinc.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] net: phy: qcom: qca807x: Enable WoL support using shared library
  2025-07-18 13:57 [PATCH net-next] net: phy: qcom: qca807x: Enable WoL support using shared library Luo Jie
@ 2025-07-22  0:50 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-07-22  0:50 UTC (permalink / raw)
  To: Luo Jie
  Cc: andrew, hkallweit1, linux, davem, edumazet, kuba, pabeni, netdev,
	linux-arm-msm, linux-kernel, maxime.chevallier

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 18 Jul 2025 21:57:48 +0800 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - [net-next] net: phy: qcom: qca807x: Enable WoL support using shared library
    https://git.kernel.org/netdev/net-next/c/14e710d7080f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-22  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18 13:57 [PATCH net-next] net: phy: qcom: qca807x: Enable WoL support using shared library Luo Jie
2025-07-22  0:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).