Commit 116b8e16 authored by Jacek Anaszewski's avatar Jacek Anaszewski Committed by Bryan Wu

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: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
Acked-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: devicetree@vger.kernel.org
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent 5e23a35c
...@@ -14,8 +14,10 @@ Optional properties for child nodes: ...@@ -14,8 +14,10 @@ Optional properties for child nodes:
- led-sources : List of device current outputs the LED is connected to. The - led-sources : List of device current outputs the LED is connected to. The
outputs are identified by the numbers that must be defined outputs are identified by the numbers that must be defined
in the LED device binding documentation. in the LED device binding documentation.
- label : The label for this LED. If omitted, the label is - label : The label for this LED. If omitted, the label is taken from the node
taken from the node name (excluding the unit address). name (excluding the unit address). It has to uniquely identify
a device, i.e. no other LED class device can be assigned the same
label.
- linux,default-trigger : This parameter, if present, is a - linux,default-trigger : This parameter, if present, is a
string defining the trigger assigned to the LED. Current triggers are: string defining the trigger assigned to the LED. Current triggers are:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment