Chuanhong Guo c8c2ef1d49 generic: ar8216: do a software reset for switch during hw_init
This applies to ar8216 and ar8236. QCA's newer U-boot will enable
the switch mdio master for FE switches which makes phy inaccessible
from CPU mdio. (e.g. on TP-Link TL-WR941N v7 Chinese version which
uses QCA9558+AR8236.) For these devices PHY probing is broken and
mdio device probing is a must. We also need to disable switch mdio
master in driver for later PHY initialization.

Do a soft reset during hw_init so that mdio master can be disabled
and expose PHYs to CPU mdio for later PHY accessing.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2019-03-24 01:44:27 +01:00
..
2019-03-18 10:02:51 +01:00
2019-03-22 18:14:28 +01:00
2019-02-25 17:33:16 +01:00
2019-02-25 17:33:16 +01:00
2019-03-06 22:02:56 +01:00
2019-03-05 13:19:43 +01:00
2019-03-02 12:59:47 +01:00
2019-03-02 12:59:47 +01:00