mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2] net: phy: broadcom: Wire suspend/resume for BCM54612E
@ 2023-11-16 19:32 Marco von Rosenberg
  2023-11-16 19:38 ` Florian Fainelli
  2023-11-17  2:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Marco von Rosenberg @ 2023-11-16 19:32 UTC (permalink / raw)
  To: Florian Fainelli, Broadcom internal kernel review list,
	Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Marco von Rosenberg, netdev, linux-kernel

The BCM54612E ethernet PHY supports IDDQ-SR.
Therefore wire-up the suspend and resume callbacks
to point to bcm54xx_suspend() and bcm54xx_resume().

Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
---
Changes in v2:
- Changed commit message
- Rebased on commit 3753c18ad5cf

 drivers/net/phy/broadcom.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
index 3a627105675a..312a8bb35d78 100644
--- a/drivers/net/phy/broadcom.c
+++ b/drivers/net/phy/broadcom.c
@@ -1135,6 +1135,8 @@ static struct phy_driver broadcom_drivers[] = {
 	.handle_interrupt = bcm_phy_handle_interrupt,
 	.link_change_notify	= bcm54xx_link_change_notify,
 	.led_brightness_set	= bcm_phy_led_brightness_set,
+	.suspend	= bcm54xx_suspend,
+	.resume		= bcm54xx_resume,
 }, {
 	.phy_id		= PHY_ID_BCM54616S,
 	.phy_id_mask	= 0xfffffff0,
-- 
2.42.0


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

* Re: [PATCH net-next v2] net: phy: broadcom: Wire suspend/resume for BCM54612E
  2023-11-16 19:32 [PATCH net-next v2] net: phy: broadcom: Wire suspend/resume for BCM54612E Marco von Rosenberg
@ 2023-11-16 19:38 ` Florian Fainelli
  2023-11-17  2:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2023-11-16 19:38 UTC (permalink / raw)
  To: Marco von Rosenberg, Broadcom internal kernel review list,
	Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

On 11/16/23 11:32, Marco von Rosenberg wrote:
> The BCM54612E ethernet PHY supports IDDQ-SR.
> Therefore wire-up the suspend and resume callbacks
> to point to bcm54xx_suspend() and bcm54xx_resume().
> 
> Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>

Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4221 bytes --]

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

* Re: [PATCH net-next v2] net: phy: broadcom: Wire suspend/resume for BCM54612E
  2023-11-16 19:32 [PATCH net-next v2] net: phy: broadcom: Wire suspend/resume for BCM54612E Marco von Rosenberg
  2023-11-16 19:38 ` Florian Fainelli
@ 2023-11-17  2:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-11-17  2:50 UTC (permalink / raw)
  To: Marco von Rosenberg
  Cc: florian.fainelli, bcm-kernel-feedback-list, andrew, hkallweit1,
	linux, davem, edumazet, kuba, pabeni, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 16 Nov 2023 20:32:31 +0100 you wrote:
> The BCM54612E ethernet PHY supports IDDQ-SR.
> Therefore wire-up the suspend and resume callbacks
> to point to bcm54xx_suspend() and bcm54xx_resume().
> 
> Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
> ---
> Changes in v2:
> - Changed commit message
> - Rebased on commit 3753c18ad5cf
> 
> [...]

Here is the summary with links:
  - [net-next,v2] net: phy: broadcom: Wire suspend/resume for BCM54612E
    https://git.kernel.org/netdev/net-next/c/380b50ae3a04

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] 3+ messages in thread

end of thread, other threads:[~2023-11-17  2:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16 19:32 [PATCH net-next v2] net: phy: broadcom: Wire suspend/resume for BCM54612E Marco von Rosenberg
2023-11-16 19:38 ` Florian Fainelli
2023-11-17  2: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

all inboxes | Powered by JetHome®