netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: phy: meson-gxl: enable edpd tunable support for G12A internal PHY
@ 2023-04-03 19:35 Heiner Kallweit
  2023-04-03 19:54 ` Simon Horman
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Heiner Kallweit @ 2023-04-03 19:35 UTC (permalink / raw)
  To: Jakub Kicinski, David Miller, Paolo Abeni, Eric Dumazet,
	Andrew Lunn, Russell King - ARM Linux, Martin Blumenstingl,
	Kevin Hilman, Jerome Brunet, Neil Armstrong
  Cc: Chris Healy, netdev@vger.kernel.org,
	open list:ARM/Amlogic Meson...,
	linux-arm-kernel@lists.infradead.org

Enable EDPD PHY tunable support for the G12A internal PHY, reusing the
recently added tunable support in the smsc driver.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/phy/meson-gxl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c
index 3dea7c752..bb9b33b6b 100644
--- a/drivers/net/phy/meson-gxl.c
+++ b/drivers/net/phy/meson-gxl.c
@@ -210,6 +210,10 @@ static struct phy_driver meson_gxl_phy[] = {
 		.read_status	= lan87xx_read_status,
 		.config_intr	= smsc_phy_config_intr,
 		.handle_interrupt = smsc_phy_handle_interrupt,
+
+		.get_tunable	= smsc_phy_get_tunable,
+		.set_tunable	= smsc_phy_set_tunable,
+
 		.suspend        = genphy_suspend,
 		.resume         = genphy_resume,
 		.read_mmd	= genphy_read_mmd_unsupported,
-- 
2.40.0


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

end of thread, other threads:[~2023-04-05  2:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-03 19:35 [PATCH net-next] net: phy: meson-gxl: enable edpd tunable support for G12A internal PHY Heiner Kallweit
2023-04-03 19:54 ` Simon Horman
2023-04-03 20:24 ` Chris Healy
2023-04-03 20:32   ` Heiner Kallweit
2023-04-03 20:41 ` Martin Blumenstingl
2023-04-05  2:00 ` 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).