realtek: dsa: support active-high LEDs
authorLorenz Brun <lorenz@brun.one>
Wed, 28 Dec 2022 19:54:21 +0000 (20:54 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 24 Jan 2023 20:55:44 +0000 (21:55 +0100)
commitbec9e79a99adee64dcc9559e6f008a2ffd5b3f4e
treee6a7ca8642bb45f1111a3bba28e229eed2b40c4c
parentd84dc5d4d7b28cf4132448130d3beb4352539f4f
realtek: dsa: support active-high LEDs

The TP-LINK TL-ST1008F has active-high LEDs, so we need a device tree
property to express this.

Signed-off-by: Lorenz Brun <lorenz@brun.one>
[Tidy up code, restrict changes to 5.15]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts-5.15/rtl9302_zyxel_xgs1250-12.dts
target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx/rtl930x.c