openwrt/target/linux/ramips/files/drivers/net/ethernet/ralink
Tamas Balogh 65dc9e0980 ramips: ethernet: ralink: add led_source dts-binding
this adds the new dts-binding "mediatek,led_source"
currently for MT7628AN and MT7688 built-in switches,
which is documented as a 3-bit field configuring the
switch LEDs for various control schemes from 0 to 3.

Normally this is not needed, but e.g. for Asus RT-AC1200-V2
it is a must to set it to the anyway undocumented value
of 4, to have the switch LEDs react correctly on link/act
events. This is an MT7628DAN device, but I doubt this is
a speciality of this particular SoC.

Also added the RT305X_ESW_LED_OFF value to LED states.
Did also rename the register RT5350_EWS_REG_LED_POLARITY
to RT5350_EWS_REG_LED_CONTROL, which is the correct name.
Also making use of defines for some hardcoded values.

Signed-off-by: Tamas Balogh <tamasbalogh@hotmail.com>
2022-05-01 13:40:13 +09:00
..
esw_rt3050.c ramips: ethernet: ralink: add led_source dts-binding 2022-05-01 13:40:13 +09:00
esw_rt3050.h ramips: ethernet: ralink: rewrite esw_rt3050 to support link states 2021-06-25 12:30:20 +02:00
ethtool.c ramips: move and rename out-of-tree mtk eth driver 2020-04-12 22:27:17 +08:00
ethtool.h ramips: move and rename out-of-tree mtk eth driver 2020-04-12 22:27:17 +08:00
gsw_mt7620.c ramips: mt7620: ethernet: use more macros and bump version 2021-06-23 14:22:19 +08:00
gsw_mt7620.h ramips: mt7620: ethernet: use more macros and bump version 2021-06-23 14:22:19 +08:00
Kconfig ramips: remove legacy ethernet driver components for mt7621 2020-08-21 15:46:54 +02:00
Makefile ramips: remove legacy ethernet driver components for mt7621 2020-08-21 15:46:54 +02:00
mdio_mt7620.c ramips: move and rename out-of-tree mtk eth driver 2020-04-12 22:27:17 +08:00
mdio_rt2880.c ramips: 5.10: port and refresh patches, ralink drv 2021-03-06 11:24:12 +01:00
mdio_rt2880.h ramips: move and rename out-of-tree mtk eth driver 2020-04-12 22:27:17 +08:00
mdio.c ramips: mt7620: remove useless GMAC nodes 2021-06-23 14:22:18 +08:00
mdio.h ramips: move and rename out-of-tree mtk eth driver 2020-04-12 22:27:17 +08:00
mt7530.c ramips: mt7530 swconfig: fix race condition in register access 2021-04-15 00:00:54 +08:00
mt7530.h ramips: remove further mt7621 code from local ethernet driver 2020-08-26 23:58:01 +02:00
mtk_eth_soc.c treewide: backport support for nvmem on non platform devices 2021-08-05 01:46:26 +02:00
mtk_eth_soc.h ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller 2021-06-25 10:52:50 +02:00
soc_mt7620.c ramips: ethernet: ralink: add struct fe_priv as context to fe_reset() 2021-06-25 10:52:50 +02:00
soc_rt2880.c ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller 2021-06-25 10:52:50 +02:00
soc_rt3050.c ramips: ethernet: ralink: rewrite esw_rt3050 to support link states 2021-06-25 12:30:20 +02:00
soc_rt3883.c ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller 2021-06-25 10:52:50 +02:00