[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1356083041-29179-1-git-send-email-peter.ujfalusi@ti.com>
Date: Fri, 21 Dec 2012 10:43:54 +0100
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: Bryan Wu <cooloney@...il.com>, Richard Purdie <rpurdie@...ys.net>,
Grant Likely <grant.likely@...retlab.ca>,
Thierry Reding <thierry.reding@...onic-design.de>
CC: <linux-kernel@...r.kernel.org>,
<devicetree-discuss@...ts.ozlabs.org>, <linux-doc@...r.kernel.org>,
<linux-leds@...r.kernel.org>
Subject: [PATCH v5 0/7] leds: leds-pwm: Device tree support
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists