[PATCH v3] pwm: add pca9685 driver

Steffen Trumtrar s.trumtrar at pengutronix.de
Thu Jun 6 18:03:00 EST 2013


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 ?!

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the devicetree-discuss mailing list