Re: [RFC] User-defined leds

From: David Lechner
Date: Fri Aug 05 2016 - 15:55:14 EST


On 08/05/2016 02:51 PM, Pavel Machek wrote:

Could the device tree be used to bind LED driver to otherwise unused
gpio?

Pavel


There is already a leds-gpio driver that does this.

https://www.kernel.org/doc/Documentation/devicetree/bindings/leds/leds-gpio.txt