diff options
| author | Peter Ujfalusi <[email protected]> | 2012-12-21 01:44:01 -0800 |
|---|---|---|
| committer | Bryan Wu <[email protected]> | 2013-02-01 17:47:05 -0800 |
| commit | 08541cbcc7386fa78efb454a92ddbfb1a2859cf9 (patch) | |
| tree | 288c9a3b4fcd689cb4551999afa39dbfa2fd0ee2 /scripts/objdiff | |
| parent | 8a66a579083a20172a46e74d175a57621dccae0a (diff) | |
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 <[email protected]>
Acked-by: Grant Likely <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions