linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 1/4] net: phy: bcm54140: use genphy_soft_reset()
@ 2020-04-28 23:06 Michael Walle
  2020-04-28 23:06 ` [PATCH net-next v2 2/4] net: phy: bcm54140: fix phy_id_mask Michael Walle
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Michael Walle @ 2020-04-28 23:06 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: Andrew Lunn, Florian Fainelli, Heiner Kallweit, Russell King,
	David S . Miller, Michael Walle

Set the .soft_reset() op to be sure there will be a reset even if there
is no hardware reset line registered.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
---
changes since v1:
 - added reviewed-by tags

 drivers/net/phy/bcm54140.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/bcm54140.c b/drivers/net/phy/bcm54140.c
index 7341f0126cc4..eb5dbacc1253 100644
--- a/drivers/net/phy/bcm54140.c
+++ b/drivers/net/phy/bcm54140.c
@@ -862,6 +862,7 @@ static struct phy_driver bcm54140_drivers[] = {
 		.probe		= bcm54140_probe,
 		.suspend	= genphy_suspend,
 		.resume		= genphy_resume,
+		.soft_reset	= genphy_soft_reset,
 		.get_tunable	= bcm54140_get_tunable,
 		.set_tunable	= bcm54140_set_tunable,
 	},
-- 
2.20.1


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

end of thread, other threads:[~2020-05-01  3:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 23:06 [PATCH net-next v2 1/4] net: phy: bcm54140: use genphy_soft_reset() Michael Walle
2020-04-28 23:06 ` [PATCH net-next v2 2/4] net: phy: bcm54140: fix phy_id_mask Michael Walle
2020-05-01  3:56   ` David Miller
2020-04-28 23:06 ` [PATCH net-next v2 3/4] net: phy: bcm54140: apply the workaround on b0 chips Michael Walle
2020-05-01  3:56   ` David Miller
2020-04-28 23:06 ` [PATCH net-next v2 4/4] net: phy: bcm54140: add second PHY ID Michael Walle
2020-04-29  0:12   ` Andrew Lunn
2020-04-29  4:16   ` Florian Fainelli
2020-05-01  3:56   ` David Miller
2020-05-01  3:56 ` [PATCH net-next v2 1/4] net: phy: bcm54140: use genphy_soft_reset() David Miller

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).