ramips: reset mt7620 frame engine via reset controller
authorShiji Yang <yangshiji66@qq.com>
Tue, 12 Dec 2023 04:58:29 +0000 (04:58 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Jan 2024 13:24:13 +0000 (14:24 +0100)
commitee82d9606fd5cd38778604aabefccd61d4028733
treee6d0e3dbed14f38a6a9ecbea726594672def88b7
parentf45fa6b45abf29a0d74c2f2ea4b8e18b6334f2e2
ramips: reset mt7620 frame engine via reset controller

Use reset controller to reset mt7620 frame engine instead of directly
writing system control registers.

Tested on HiWiFi HC5861.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
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_mt7620.c