]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: nxp-c45-tja11xx: add match_phy_device to TJA1103/TJA1104
authorAndrei Botila <andrei.botila@oss.nxp.com>
Fri, 28 Feb 2025 15:43:19 +0000 (17:43 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Mar 2025 01:00:03 +0000 (17:00 -0800)
commita06a868a0cd96bc51401cdea897313a3f6ad01a0
tree86592b91eb12a8f37c849540ab7dbc707628128d
parent39e912a959c19338855b768eaaee2917d7841f71
net: phy: nxp-c45-tja11xx: add match_phy_device to TJA1103/TJA1104

Add .match_phy_device for the existing TJAs to differentiate between
TJA1103 and TJA1104.
TJA1103 and TJA1104 share the same PHY_ID but TJA1104 has MACsec
capabilities while TJA1103 doesn't.

Signed-off-by: Andrei Botila <andrei.botila@oss.nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250228154320.2979000-2-andrei.botila@oss.nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/nxp-c45-tja11xx.c