arm64: dts: imx8mq-librem5: use multicolor leds description for RGB led
the current interface is
ls /sys/class/leds/*status
'/sys/class/leds/blue:status':
brightness device max_brightness pattern power repeat subsystem trigger uevent
'/sys/class/leds/green:status':
brightness device max_brightness pattern power repeat subsystem trigger uevent
'/sys/class/leds/red:status':
brightness device max_brightness pattern power repeat subsystem trigger uevent
and with this change it becomes:
ls /sys/class/leds/rgb\:status
brightness device max_brightness multi_index multi_intensity pattern power repeat subsystem trigger uevent
where brightness
sets the "RGB" we first describe in multi_intesity
(like 248 0 0
for blue). that works and we should use this, see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/leds/well-known-leds.txt
but feedbackd (or in effect our userspace) doesn't seem to know about that. @guido.gunther do you have the userspace changes needed for this transition in your head already? :) thanks.