]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: added the LAN937x phy support
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 4 Mar 2022 09:44:00 +0000 (15:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 12:45:19 +0000 (12:45 +0000)
commitf2c44cc8e89530d73624dc613196caf84b644661
tree6aa121d9ab197dac936e64c3601f95b222d54451
parent620fb02c6c793ea6c752858017132b27bc5e05ff
net: phy: added the LAN937x phy support

LAN937x T1 switch is based on LAN87xx Phy, so reusing the init script of
the LAN87xx. There is a workaround in accessing the DSP bank register
for LAN937x Phy. Whenever there is a bank switch to DSP registers, then
we need a one dummy read access before proceeding to the actual register
access.

Signed-off-by: Prasanna Vengateshan <prasanna.vengateshan@microchip.com>
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/microchip_t1.c