Praneeth Bajjuri 47c07f919f net: phy: dp83867: perform soft reset and retain established link
[ Upstream commit da9ef50f545f86ffe6ff786174d26500c4db737a ]

Current logic is performing hard reset and causing the programmed
registers to be wiped out.

as per datasheet: https://www.ti.com/lit/ds/symlink/dp83867cr.pdf
8.6.26 Control Register (CTRL)

do SW_RESTART to perform a reset not including the registers,
If performed when link is already present,
it will drop the link and trigger re-auto negotiation.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Geet Modi <geet.modi@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:47:21 -04:00
..
2021-03-30 14:32:05 +02:00
2021-03-30 14:32:05 +02:00
2021-03-30 14:32:05 +02:00
2020-08-27 06:55:51 -07:00
2021-03-30 14:32:05 +02:00
2021-06-16 12:01:36 +02:00
2021-03-30 14:32:05 +02:00
2021-03-30 14:32:05 +02:00
2020-06-19 20:17:15 -07:00
2021-03-30 14:32:05 +02:00
2020-09-28 15:14:42 -07:00