ImmortalWrt/target/linux/realtek
Harshal Gohel 2cfb1ecf10 rtl930x: Rework per port LED configuration
Use led_setX to determine number of LEDs per port. Introduce macros to
calculate register value and shift for particular LED in a particular
set.

Problem with previous implementation is that it uses is10G status to
determine leds per port. However with usxgmii, driver sets 10g, 5g and
2.5g so even though there are only 2 leds per port it selects 4 leds per
port

This implementation relies on configured led_set node.

Acked-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
2024-01-09 21:18:50 +01:00
..
base-files realtek: Clean up and standardize realtek-poe support 2023-12-13 20:10:23 +01:00
dts-5.15 rtl930x: Rework per port LED configuration 2024-01-09 21:18:50 +01:00
files/firmware/rtl838x_phy
files-5.15 rtl930x: Rework per port LED configuration 2024-01-09 21:18:50 +01:00
image realtek: Clean up and standardize realtek-poe support 2023-12-13 20:10:23 +01:00
patches-5.15 kernel: bump 5.15 to 5.15.143 2023-12-19 14:18:55 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
rtl839x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
rtl930x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
rtl931x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
Makefile realtek: switch to Kernel 5.15 by default 2023-03-14 18:47:00 +01:00