immortalwrt/target/linux/ramips
Lech Perczak 8ce87267ba ramips: mtk_eth_soc: allow multiple resets
Use devm_reset_control_array_get_exclusive to register multiple
reset lines in FE driver. This is required to reattach ESW reset to FE
driver again, based on device tree bindings.

While at that, remove unused fe_priv.rst_ppe field, and add error
message if getting the reset fails.

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>

(cherry picked from commit 3f1be8edee)
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2024-01-05 23:32:59 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: add support for Rostelecom RT-FE-1A 2024-01-04 21:45:04 +01:00
files/drivers ramips: mtk_eth_soc: allow multiple resets 2024-01-05 23:32:59 +01:00
image ramips: add support for Rostelecom RT-FE-1A 2024-01-04 21:45:04 +01:00
mt76x8 ramips: enable variable sector size erasure for all subtarget 2023-05-18 16:46:16 +02:00
mt7620 ramips: add support for Sercomm CPJ routers 2023-11-27 02:02:35 +01:00
mt7621 ramips: add support for Rostelecom RT-FE-1A 2024-01-04 21:45:04 +01:00
patches-5.15 kernel: bump 5.15 to 5.15.132 2023-09-25 23:04:37 +02:00
rt288x ramips: enable variable sector size erasure for all subtarget 2023-05-18 16:46:16 +02:00
rt305x ramips: enable variable sector size erasure for all subtarget 2023-05-18 16:46:16 +02:00
rt3883 ramips: enable variable sector size erasure for all subtarget 2023-05-18 16:46:16 +02:00
Makefile ramips: Switch default kernel to 5.15 2023-02-17 16:31:53 +02:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-04 23:43:02 -10:00