[PATCH v2 0/3] leds: leds-pwm: Device tree support

From: Peter Ujfalusi
Date: Mon Nov 12 2012 - 09:42:04 EST


Hello,

The patch:
https://lkml.org/lkml/2012/11/7/187
grown to be a series to add DeviceTree support for the leds-pwm driver.

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) with legacy and DT boot.

Regards,
Peter
---
Peter Ujfalusi (3):
leds: leds-pwm: Convert to use devm_get_pwm
leds: leds-pwm: Preparing the driver for device tree support
leds: leds-pwm: Add device tree bindings

.../devicetree/bindings/leds/leds-pwm.txt | 34 +++++
drivers/leds/leds-pwm.c | 161 ++++++++++++++-------
include/linux/leds_pwm.h | 2 +-
3 files changed, 146 insertions(+), 51 deletions(-)
create mode 100644 Documentation/devicetree/bindings/leds/leds-pwm.txt

--
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/