net: phy: updated the initialization routine for LAN87xx
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 4 Mar 2022 09:43:59 +0000 (15:13 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Mar 2022 12:45:19 +0000 (12:45 +0000)
commit8637034bc63f38d631a94c1b8f655291ca81ad3e
treee97ed90c669a526692ef5adc42840d7b803ee405
parentccc8cc5baddea785c6bb584a13a2504b00d490e8
net: phy: updated the initialization routine for LAN87xx

The new initialization sequence is the improvement to the existing init
routine. Init routine does soft reset, run init script and set
Hw_init. Added the new access_smi_poll_timeout() for polling smi
bank write.

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