]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4956cbf1348c77a33abd0eda803e6f3f178c104
tree93d9ed8794c9eb26f990403be92190d7d6112e38
parentdfbc89194b2303f068b51706d01369d3e3d0808f
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