openwrt/target/linux/realtek/dts-5.15
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
..
rtl83xx_d-link_dgs-1210_common.dtsi
rtl83xx_d-link_dgs-1210_gpio.dtsi
rtl83xx_panasonic_mxxeg-pn28xx0k.dtsi realtek: use generic earlycon setup on 5.15 2023-01-30 14:30:41 +01:00
rtl838x_hpe_1920.dtsi realtek: fix addresses in DT node names 2023-12-30 11:53:47 +01:00
rtl838x.dtsi realtek: use generic earlycon setup on 5.15 2023-01-30 14:30:41 +01:00
rtl839x_d-link_dgs-1210_gpio.dtsi
rtl839x.dtsi realtek: use generic earlycon setup on 5.15 2023-01-30 14:30:41 +01:00
rtl930x.dtsi realtek: use generic earlycon setup on 5.15 2023-01-30 14:30:41 +01:00
rtl931x.dtsi realtek: fix dts whitespace 2023-02-09 03:03:52 +01:00
rtl8380_d-link_dgs-1210-10mp-f.dts realtek: dgs-1210-10mp: update sfp phy-handle 2023-01-28 21:01:29 +01:00
rtl8380_engenius_ews2910p.dts
rtl8380_hpe_1920-8g-poe-65w.dts realtek: add support for HPE 1920-8g-poe+ (65W) 2023-10-09 19:29:45 +02:00
rtl8380_hpe_1920-8g-poe-180w.dts realtek: rename hpe,1920-8g-poe to match hardware 2023-10-09 19:27:50 +02:00
rtl8380_hpe_1920-8g.dts realtek: add support for HPE 1920-8g-poe+ 2023-07-15 17:05:58 +02:00
rtl8380_hpe_1920-8g.dtsi realtek: add support for HPE 1920-8g-poe+ 2023-07-15 17:05:58 +02:00
rtl8380_netgear_gigabit_1xx.dtsi
rtl8380_netgear_gigabit_3xx.dtsi
rtl8380_netgear_gigabit.dtsi
rtl8380_netgear_gs108t-v3.dts
rtl8380_netgear_gs110tpp-v1.dts
rtl8380_netgear_gs308t-v1.dts realtek: copy dts/files/patches/configs for 5.15 2022-12-15 20:52:09 +01:00
rtl8380_netgear_gs310tp-v1.dts
rtl8380_panasonic_m8eg-pn28080k.dts
rtl8380_tplink_sg2xxx.dtsi realtek: convert to nvmem-layout 2023-11-24 16:37:02 +01:00
rtl8380_tplink_sg2008p-v1.dts
rtl8380_tplink_sg2210p-v3.dts
rtl8380_zyxel_gs1900-8.dts
rtl8380_zyxel_gs1900-8hp-v1.dts
rtl8380_zyxel_gs1900-8hp-v2.dts
rtl8380_zyxel_gs1900-10hp.dts
rtl8380_zyxel_gs1900.dtsi
rtl8382_allnet_all-sg8208m.dts
rtl8382_apresia_aplgs120gtss.dts realtek: add support for APRESIA ApresiaLightGS120GT-SS 2023-02-13 12:22:17 +01:00
rtl8382_d-link_dgs-1210-10p.dts
rtl8382_d-link_dgs-1210-16.dts
rtl8382_d-link_dgs-1210-20.dts
rtl8382_d-link_dgs-1210-28_common.dtsi
rtl8382_d-link_dgs-1210-28.dts
rtl8382_d-link_dgs-1210-28mp-f.dts
rtl8382_hpe_1920-16g.dts
rtl8382_hpe_1920-24g.dts
rtl8382_hpe_1920.dtsi
rtl8382_inaba_aml2-17gp.dts
rtl8382_iodata_bsh-g24mb.dts realtek: use generic earlycon setup on 5.15 2023-01-30 14:30:41 +01:00
rtl8382_panasonic_m16eg-pn28160k.dts
rtl8382_panasonic_m24eg-pn28240k.dts
rtl8382_tplink_t1600g-28ts-v3.dts realtek: convert to nvmem-layout 2023-11-24 16:37:02 +01:00
rtl8382_zyxel_gs1900-16.dts
rtl8382_zyxel_gs1900-24-v1.dts
rtl8382_zyxel_gs1900-24e.dts
rtl8382_zyxel_gs1900-24hp-v1.dts
rtl8382_zyxel_gs1900-24hp-v2.dts
rtl8393_d-link_dgs-1210-52.dts
rtl8393_netgear_gs750e.dts realtek: correct typo in port numbering 2024-01-05 20:21:45 +01:00
rtl8393_panasonic_m48eg-pn28480k.dts
rtl8393_tplink_sg2452p-v4.dts realtek: convert to nvmem-layout 2023-11-24 16:37:02 +01:00
rtl8393_zyxel_gs1900-48.dts realtek: fix dts whitespace 2023-02-09 03:03:52 +01:00
rtl9302_zyxel_xgs1250-12.dts rtl930x: Rework per port LED configuration 2024-01-09 21:18:50 +01:00