net: phy: tja11xx: add support for master-slave configuration
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 5 May 2020 06:35:06 +0000 (08:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2020 00:45:45 +0000 (17:45 -0700)
commitb883e47bde4b3eaf18e8d0d73709b33942b4a589
treefc04060f03d67fca8157b07d648bd7113e6d914b
parentbdbdac7649fac05f88c9f7ab18121a17fb591687
net: phy: tja11xx: add support for master-slave configuration

The TJA11xx PHYs have a vendor specific Master/Slave configuration bit,
which is not compatible with IEEE 803.2-2018 spec for 100Base-T1
devices. So, provide a custom config_ange call back to solve this
problem.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/nxp-tja11xx.c