[lkml]   [2012]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v4 0/7] leds: leds-pwm: Device tree support

Changes since v3:
Addressed comments from Thierry Redding:
- DT binding documentation for leds-pwm updated
- of_pwm_request() renamed as of_pwm_get()
- introduction of devm_of_pwm_get()
- Commit message updates
- Other comments has been also addressed
- Acked-by from Grant is not added to the patches since they were modified since

Changes since v2:
- rebased on top of linux-next
- DT bindings now alligned with Grant's request
- exporting of_pwm_request() from PWM core to allow clean DT bindings
- DT binding documentation changed to reflect the changes

Changes since v1:
- As suggested by Bryan Wu: the legacy pwm_request() has been removed from
patch 1
- Device tree bindings added for leds-pwm driver.

When we boot with Device tree we handle one LED per device to be more aligned
with PWM core's DT implementation.
An example of the DT usage is provided in the new DT binding documentation for

Tested on OMAP4 Blaze (SDP), BeagleBoard with legacy and DT boot. On Zoom2 with
legacy boot.

Peter Ujfalusi (7):
leds: leds-pwm: Convert to use devm_get_pwm
leds: leds-pwm: Preparing the driver for device tree support
pwm: Correct parameter name in header for *pwm_get() functions
pwm: core: Rename of_pwm_request() to of_pwm_get() and export it
pwm: Add devm_of_pwm_get() as exported API for users
leds: leds-pwm: Simplify cleanup code
leds: leds-pwm: Add device tree bindings

.../devicetree/bindings/leds/leds-pwm.txt | 48 +++++++
drivers/leds/leds-pwm.c | 152 +++++++++++++++------
drivers/pwm/core.c | 38 +++++-
include/linux/leds_pwm.h | 2 +-
include/linux/pwm.h | 20 ++-
5 files changed, 212 insertions(+), 48 deletions(-)
create mode 100644 Documentation/devicetree/bindings/leds/leds-pwm.txt


 \ /
  Last update: 2012-12-12 10:21    [W:0.079 / U:2.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site