OSDN Git Service

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)
commit80dc6e1cd85fc09dde37b262f1beb9f953e215e2
tree8e0432406e6329763d89147088abf795297afe7c
parent8243edf44152c08c3efa1d551fc48605d674ad18
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