openwrt/target/linux/ramips
Lech Perczak f393ffcac1 raimps: mtk_eth_soc: drop rst_esw from ESW driver
The ESW core needs to be reset together with FE core, so after the
relevant reset controller lines are moved under FE, drop rst_esw and all
related code, which would not execute anyway, because rst_esw would be
NULL. While at that, ensure that if reset line for EPHY cannot be
claimed, a proper error message is reported.

Fixes: 60fadae62b ("ramips: ethernet: ralink: move reset of the esw into the esw instead of fe")

Co-developed-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>

[Split out of the bigger commit, provide commit mesage, refactor error
handling]
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2024-01-02 22:00:20 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: dts: mt7628an: reset FE and ESW cores together 2024-01-02 22:00:19 +01:00
files/drivers raimps: mtk_eth_soc: drop rst_esw from ESW driver 2024-01-02 22:00:20 +01:00
image ramips: add TP-LINK TL-WR902AC v4 2023-12-06 22:59:22 +01:00
mt76x8 ramips: add TP-LINK TL-WR902AC v4 2023-12-06 22:59:22 +01:00
mt7620 ramips: add support for Sercomm CPJ routers 2023-11-25 01:11:18 +01:00
mt7621 ramips: add support for Rostelecom RT-FE-1A 2023-12-06 00:12:56 +01:00
patches-5.15 ramips: refresh patches 2023-12-08 23:34:42 +00:00
rt288x ramips: add proper system clock and reset driver support for legacy SoCs 2023-07-30 13:09:23 +02:00
rt305x ramips: add proper system clock and reset driver support for legacy SoCs 2023-07-30 13:09:23 +02:00
rt3883 ramips: add proper system clock and reset driver support for legacy SoCs 2023-07-30 13:09:23 +02:00
Makefile ramips: Switch default kernel to 5.15 2023-02-17 16:31:53 +02:00
modules.mk kernel: modules: break-out WM8960 codec module 2023-12-11 18:01:43 +00:00