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]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux