ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller
authorAlexander Couzens <lynxis@fe80.eu>
Wed, 9 Jun 2021 21:08:07 +0000 (23:08 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Fri, 25 Jun 2021 08:52:50 +0000 (10:52 +0200)
commit3fa01db4793e9aedb798df90a7889fc0124bb2c7
tree03238e2c77605d72a45d3f28f51103a477f213c3
parentd50e129399e3e9016b63a2c6757245a5136697d5
ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller

The dts defines the reset fe for all architectures. However
the soc code used direct register access of the reset controller.
Replace the custom soc reset with a generic fe_reset_fe().

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.h
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt2880.c
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3050.c
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_rt3883.c