Peter Ujfalusi 08541cbcc7 leds: leds-pwm: Add device tree bindings
The DT binding for the pwm-leds devices are similar to the gpio-leds type.
LEDs are represented as sub-nodes of the pwm-leds device.
The code for handling the DT boot is based on the code found in the
leds-gpio driver and adapted to use PWMs instead of GPIOs.
To avoid having custom cleanup code in case of DT boot the newly created
devm_of_pwm_get() API is used to get the correct PWM instance.

For usage see:
Documentation/devicetree/bindings/leds/leds-pwm.txt

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
2013-02-01 17:47:05 -08:00
..
2012-11-28 12:35:06 -08:00
2012-11-28 12:34:57 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-26 14:28:45 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00
2012-11-28 12:35:06 -08:00