[PATCH v3] pwm: add pca9685 driver

Thierry Reding thierry.reding at gmail.com
Wed Jun 12 21:30:30 EST 2013


On Thu, Jun 06, 2013 at 10:03:00AM +0200, Steffen Trumtrar wrote:
> On Thu, May 30, 2013 at 09:50:12AM +0200, Steffen Trumtrar wrote:
> > Add pwm driver for the NXP pca9685 16 channel pwm-led controller.
> > 
> > The driver is really barebones at this stage. E.g. the OE' pin and
> > therefore the corresponding registers are not supported.
> > The driver was tested on a HW where this pin is tied to GND.
> > 
> > Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> > ---
> > Changes since v2:
> > 	- s/pwm-pca9685-led/pwm-pca9685/g
> > 	- replace DT properties with booleans
> > 	- whitespace/blank line cleanup
> > 	- add "depends on REGMAP_I2C" in Kconfig
> > 	- rework code readability
> > 	- add pwm_ops.free function
> > 	- set SLEEP bit on request/free/remove
> > 
> > Changes since v1:
> > 	- fix typo in documentation example
> > 
> >  .../devicetree/bindings/pwm/nxp,pca9685-pwm.txt    |  27 ++
> >  drivers/pwm/Kconfig                                |   9 +
> >  drivers/pwm/Makefile                               |   1 +
> >  drivers/pwm/pwm-pca9685.c                          | 291 +++++++++++++++++++++
> >  4 files changed, 328 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/pwm/nxp,pca9685-pwm.txt
> >  create mode 100644 drivers/pwm/pwm-pca9685.c
> > 
> 
> Ping ?!

Applied with some small fixups, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20130612/34a06107/attachment.sig>


More information about the devicetree-discuss mailing list