3 Commits
Author SHA1 Message Date
Sicelo A. Mhlongo a31c636f14 tests: Test legacy LED name detection
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
2025-07-12 12:57:36 +02:00
Sicelo A. Mhlongo cf848e08ca udev: Support legacy LED naming
The Nokia N900 and Motorola Droid 4 use obsolete naming for LEDs, as indicated
in include/dt-bindings/leds/common.h in the Linux kernel. Since the obsolete
naming is still in wide use, support them in feedbackd until it is eventually
removed in the kernel.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
2025-06-30 19:12:00 +02:00
Sicelo A. Mhlongo 8aa7213327 fbd-dev-led: Support LEDs with legacy naming
As noted in include/dt-bindings/leds/common.h in the Linux kernel, the Nokia
N900 has leds that use legacy naming. Until this naming scheme is removed from
the kernel, support it through the use of an additional FEEDBACKD_LED_COLOR
udev property, which must be set to the color corresponding to the LED.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
2025-06-30 19:11:41 +02:00