Re: [PATCH v3] ARM: dts: renesas: r9a06g032-rzn1d400-db: describe Debug LEDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux