summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-07-29 09:36:36 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-29 14:31:30 +0200
commit03a2269509e5107f88c04c6bdde4ec692ba97a9a (patch)
tree32fc873d617103c8f4e6027595f62cf8990bdf81 /Documentation/devicetree
parent366f64ff1b13654c26329fdc93efde2e20834cee (diff)
downloadbarebox-03a2269509e5107f88c04c6bdde4ec692ba97a9a.tar.gz
barebox-03a2269509e5107f88c04c6bdde4ec692ba97a9a.tar.xz
led: try to get LED's label from the 'label' property
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/leds/common.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/common.rst b/Documentation/devicetree/bindings/leds/common.rst
index c1fd1ab89e..1f5ae42caf 100644
--- a/Documentation/devicetree/bindings/leds/common.rst
+++ b/Documentation/devicetree/bindings/leds/common.rst
@@ -8,3 +8,5 @@ Common leds properties
* ``panic`` - LED turns on when barebox panics
* ``net`` - LED indicates network activity
+* ``label``: The label for this LED. If omitted, the label is taken
+ from the node name (excluding the unit address).