aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2015-03-26 10:03:09 -0400
committerBryan Wu <cooloney@gmail.com>2015-03-30 14:55:50 -0400
commit116b8e164116be537f50cdcce84d80be0facd0cf (patch)
tree752f1717379b0d536fd29453b7814889ba7e4774
parent5e23a35cf8b3c5c07111409d589590b9fb4305f6 (diff)
DT: leds: Add uniqueness requirement for 'label' property.
Label is used for naming LED class devices. Since ePAPR doesn't require uniqueness for label properties, it has to be explicitly required in the LEDs common bindings documentation. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: devicetree@vger.kernel.org Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/leds/common.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt
index 34811c57db69..747c53805eec 100644
--- a/Documentation/devicetree/bindings/leds/common.txt
+++ b/Documentation/devicetree/bindings/leds/common.txt
@@ -14,8 +14,10 @@ Optional properties for child nodes:
14- led-sources : List of device current outputs the LED is connected to. The 14- led-sources : List of device current outputs the LED is connected to. The
15 outputs are identified by the numbers that must be defined 15 outputs are identified by the numbers that must be defined
16 in the LED device binding documentation. 16 in the LED device binding documentation.
17- label : The label for this LED. If omitted, the label is 17- label : The label for this LED. If omitted, the label is taken from the node
18 taken from the node name (excluding the unit address). 18 name (excluding the unit address). It has to uniquely identify
19 a device, i.e. no other LED class device can be assigned the same
20 label.
19 21
20- linux,default-trigger : This parameter, if present, is a 22- linux,default-trigger : This parameter, if present, is a
21 string defining the trigger assigned to the LED. Current triggers are: 23 string defining the trigger assigned to the LED. Current triggers are: