OSDN Git Service

dt: bindings: as3645a: Use LED number to refer to LEDs
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 22 Sep 2017 09:32:36 +0000 (12:32 +0300)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Sat, 23 Sep 2017 19:16:54 +0000 (21:16 +0200)
commit75f9f7279e874ff95d1abe4613abc0826c9a8dcc
tree93d9ed8794c9eb26f990403be92190d7d6112e38
parentaf2e658fc08a397b10352265e50b83f27e25d73e
dt: bindings: as3645a: Use LED number to refer to LEDs

Use integers (reg property) to tell the number of the LED to the driver
instead of the node name. While both of these approaches are currently
used by the LED bindings, using integers will require less driver changes
for ACPI support. Additionally, it will make possible LED naming using
chip and LED node names, effectively making the label property most useful
for human-readable names only.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Documentation/devicetree/bindings/leds/ams,as3645a.txt