linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net resubmit] net: phy: smsc: add proper reset flags for LAN8710A
@ 2025-07-28 15:29 Bence Csókás
  2025-07-31  2:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Bence Csókás @ 2025-07-28 15:29 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: Buday Csaba, Csókás Bence, Andrew Lunn, Heiner Kallweit,
	Russell King, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni

From: Buday Csaba <buday.csaba@prolan.hu>

According to the LAN8710A datasheet (Rev. B, section 3.8.5.1), a hardware
reset is required after power-on, and the reference clock (REF_CLK) must be
established before asserting reset.

Signed-off-by: Buday Csaba <buday.csaba@prolan.hu>
Cc: Csókás Bence <csokas.bence@prolan.hu>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
---
 drivers/net/phy/smsc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c
index b6489da5cfcd..48487149c225 100644
--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -785,6 +785,7 @@ static struct phy_driver smsc_phy_driver[] = {
 
 	/* PHY_BASIC_FEATURES */
 
+	.flags		= PHY_RST_AFTER_CLK_EN,
 	.probe		= smsc_phy_probe,
 
 	/* basic functions */

base-commit: fa582ca7e187a15e772e6a72fe035f649b387a60
-- 
2.43.0



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

* Re: [PATCH net resubmit] net: phy: smsc: add proper reset flags for LAN8710A
  2025-07-28 15:29 [PATCH net resubmit] net: phy: smsc: add proper reset flags for LAN8710A Bence Csókás
@ 2025-07-31  2:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-07-31  2:20 UTC (permalink / raw)
  To: =?utf-8?b?QmVuY2UgQ3PDs2vDoXMgPGNzb2thcy5iZW5jZUBwcm9sYW4uaHU+?=
  Cc: netdev, linux-kernel, buday.csaba, andrew, hkallweit1, linux,
	davem, edumazet, kuba, pabeni

Hello:

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

On Mon, 28 Jul 2025 17:29:16 +0200 you wrote:
> From: Buday Csaba <buday.csaba@prolan.hu>
> 
> According to the LAN8710A datasheet (Rev. B, section 3.8.5.1), a hardware
> reset is required after power-on, and the reference clock (REF_CLK) must be
> established before asserting reset.
> 
> Signed-off-by: Buday Csaba <buday.csaba@prolan.hu>
> Cc: Csókás Bence <csokas.bence@prolan.hu>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> 
> [...]

Here is the summary with links:
  - [net,resubmit] net: phy: smsc: add proper reset flags for LAN8710A
    https://git.kernel.org/netdev/net/c/57ec5a8735dc

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-31  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-28 15:29 [PATCH net resubmit] net: phy: smsc: add proper reset flags for LAN8710A Bence Csókás
2025-07-31  2:20 ` 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).