Hi Wolfram,
On 5/15/25 10:27, Wolfram Sang wrote:
Hi all,
thank you for providing all this input. I appreciate this a lot. And
please excuse the slow response. I am currently at the EmbeddedRecipes
conference which needed a bit of preparation on my side.
So the node would look like this, for the pca1 LED:
led-1 {
function = "pca1";
color = <LED_COLOR_GREEN>;
default-state = "keep";
};
This looks optimal to me, if this is acceptable. I totally understand
the advantages and desire to unify LED naming. The main problem for me
here is that the GPIO-driven LEDs have no 'device' part in the generic
Actually devicename section is expected mostly for LEDs that are somehow
associated with other devices. In most cases it can be skipped, see [0].
[0]
https://github.com/torvalds/linux/blob/master/Documentation/leds/leds-class.rst#led-device-naming
--
Best regards,
Jacek Anaszewski