linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: phy: meson-gxl: support more G12A-internal PHY versions
@ 2023-01-15 15:19 Heiner Kallweit
  2023-01-15 16:57 ` Andrew Lunn
  0 siblings, 1 reply; 18+ messages in thread
From: Heiner Kallweit @ 2023-01-15 15:19 UTC (permalink / raw)
  To: Andrew Lunn, Russell King - ARM Linux, David Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Neil Armstrong, Kevin Hilman,
	Jerome Brunet, Martin Blumenstingl
  Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	open list:ARM/Amlogic Meson...

On my SC2-based system the genphy driver was used because the PHY
identifies as 0x01803300. It works normal with the meson g12a
driver after this change.
Switch to PHY_ID_MATCH_MODEL to cover the different sub-versions.

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

diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c
index c49062ad7..a36d471b8 100644
--- a/drivers/net/phy/meson-gxl.c
+++ b/drivers/net/phy/meson-gxl.c
@@ -262,7 +262,7 @@ static struct phy_driver meson_gxl_phy[] = {
 		.suspend        = genphy_suspend,
 		.resume         = genphy_resume,
 	}, {
-		PHY_ID_MATCH_EXACT(0x01803301),
+		PHY_ID_MATCH_MODEL(0x01803301),
 		.name		= "Meson G12A Internal PHY",
 		/* PHY_BASIC_FEATURES */
 		.flags		= PHY_IS_INTERNAL,
-- 
2.39.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-01-23 14:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-15 15:19 [PATCH net-next] net: phy: meson-gxl: support more G12A-internal PHY versions Heiner Kallweit
2023-01-15 16:57 ` Andrew Lunn
2023-01-15 17:09   ` Heiner Kallweit
2023-01-15 18:43     ` Neil Armstrong
2023-01-15 19:42       ` Anand Moon
2023-01-15 20:38       ` Heiner Kallweit
2023-01-17 12:04         ` Paolo Abeni
2023-01-17 13:30           ` Andrew Lunn
2023-01-17 14:51             ` Heiner Kallweit
2023-01-20  9:55               ` Jerome Brunet
2023-01-19 22:42         ` Heiner Kallweit
2023-01-20 10:01           ` Jerome Brunet
2023-01-20 10:22             ` Heiner Kallweit
2023-01-20 10:52               ` Heiner Kallweit
2023-01-20 12:48                 ` Jerome Brunet
2023-01-19 22:56         ` [PATCH net-next] net: mdio: mux-meson-g12a: use devm_clk_get_enabled to simplify the code Heiner Kallweit
2023-01-20 10:14           ` Jerome Brunet
2023-01-23 14: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).