Re: [PATCH 1/2] dt-bindings: leds: Document none trigger

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

 



On 10/24/21 10:41 AM, Pavel Machek wrote:
Hi!

There is a trigger called "none" which triggers never, add it to the
list of valid trigger values.

We can do this, but is it useful? If you avoid putting trigger
property, it will do the same thing.

It's not that simple. If you have a DT which specifies a trigger type and a DTO which overrides that trigger type, then the DTO cannot remove the trigger from the base DT, it has to set trigger type to "none". So I believe there is a valid use case for existence of the "none" type.



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux