]> 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)
commite7630cf43e05763c2eff6ad13f705ce0f2191f2b
tree6aa121d9ab197dac936e64c3601f95b222d54451
parentf0f3aae75b5de4d3257e4184426631e1698d4a90
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