]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25fd56f68cce22c537b8edec4f3f480a694fcc2b
treefc04060f03d67fca8157b07d648bd7113e6d914b
parent2c1e937a7727c2b3a4460e181a86e001ed56a4ad
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