difos/target/linux/ath79
Chuanhong Guo cea3e9e438 ath79: ag71xx: add support for optional mdio reset
On ar933x and later chips, there are separated mac/mdio resets, but
resetting the entire gmac block with register values requires both
mac_reset and mdio_reset to be asserted together.

Add support for optional mdio reset so that we can do a full reset
if needed.

This patch also replaced deprecated devm_reset_control_get for
mac reset.

To use this feature, the following is needed:
 1. drop "simple-mfd" compatible to register mdio0 after gmac init
    so that mdio registers aren't reset after initialization.
 2. move mdio reset from mdio-bus to its parent eth node.

NOTE: This can't be applied on gmac1 with builtin switch since we
haven't add a feature to defer probe if phy connection failed.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2019-03-05 03:02:34 +01:00
..
base-files ath79: speed up ath9k-eeprom extraction 2019-03-02 12:59:48 +01:00
dts ath79: make TP-Link revision naming consistent 2019-03-02 13:04:54 +01:00
files ath79: ag71xx: add support for optional mdio reset 2019-03-05 03:02:34 +01:00
generic ath79: add support for devolo WiFi pro 1200e 2018-12-27 14:06:38 +01:00
image ath79: add support for TP-Link Archer C5 v1 2019-02-28 11:32:55 +01:00
nand treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.95 2019-01-24 10:10:45 +01:00
tiny treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
config-4.14 ath79: add support for D-Link DIR-859 A1 2018-12-30 20:08:13 +01:00
Makefile ath79: Remove source-only flag 2018-11-26 12:24:54 +01:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00