]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: leds: document new trigger-sources property
authorRafał Miłecki <rafal@milecki.pl>
Thu, 8 Jun 2017 16:08:31 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jun 2017 15:56:59 +0000 (17:56 +0200)
commit750b176a28087b517b691104195be41965b798a4
tree8e0432406e6329763d89147088abf795297afe7c
parent5ae7fdbf62fc0dbae676d15e6adf304804e12659
dt-bindings: leds: document new trigger-sources property

Some LEDs can be related to a specific device(s) described in the DT.
This property allows specifying such relations. E.g. USB LED should
usually be used to indicate some USB port(s) state.

Please note this binding is designed to be generic and not influenced by
any operating system design. Linux developers may find "trigger" part a
bit confusing since in Linux triggers are separated drivers. It
shouldn't define the binding though (we shouldn't add an extra level of
indirection).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/leds/common.txt