openwrt/target/linux/ramips/files/drivers
Lech Perczak 3f1be8edee 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>
2024-01-02 21:56:52 +01:00
..
mmc/host/mtk-mmc ramips: mtk-mcc: move cmd_buf for dbg under ifdef 2023-05-12 03:15:38 +02:00
mtd/nand/raw ramips: correct page read return value of the mt7621 nand driver 2023-05-22 14:45:03 +02:00
net/ethernet/ralink ramips: mtk_eth_soc: allow multiple resets 2024-01-02 21:56:52 +01:00
pinctrl kernel: remove obsolete kernel version switches 2023-05-20 15:19:14 +02:00