Many embedded devices these days use RGB (or other multiple-colour) LEDs and the Linux kernel does have the concept of binding individual LEDs together to associate them as a multicolour entity. Some multi-channel chips (e.g LP55xx) even support it directly in their driver code.
Would you consider enabling CONFIG_LEDS_CLASS_MULTICOLOR as a Toradex kernel config change?
The code itself states it can be built as a module, but doing so out-of-band (e.g. via the TCB driver build step) does not work as there are functions in /include/linux/led-class-multicolor.h that change depending on whether multicolour support is enabled. Since it is not currently, the module cannot be built or side-loaded.
Sure thing, I’ll go ahead and put in the request to enable CONFIG_LEDS_CLASS_MULTICOLOR. As usual I’ll let you know once there’s an update regarding this request.