[PATCH v5 0/7] leds: leds-pwm: Device tree support

Bryan Wu cooloney at gmail.com
Thu Jan 3 13:10:13 EST 2013


Hi Peter,

I merged this patchset into my for-next branch already.

Thanks for pushing this.
-Bryan

On Fri, Dec 21, 2012 at 1:43 AM, Peter Ujfalusi <peter.ujfalusi at ti.com> wrote:
> Hello,
>
> Changes since v4:
> - Commit message for patch #7 (DT binding for the leds-pwm driver) has been
>   updated
>
> 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
>   v3
>
> 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
> leds-pwm.
>
> Tested on OMAP4 Blaze (SDP), BeagleBoard with legacy and DT boot. On Zoom2 with
> legacy boot.
>
> Regards,
> Peter
> ---
> 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
>
> --
> 1.8.0.2
>


More information about the devicetree-discuss mailing list