[PATCH v3 4/9] pwm: Add STM32 LPTimer PWM driver
From: Thierry Reding <hidden>
Date: 2017-08-21 07:01:59
Also in:
linux-devicetree, linux-iio, linux-pwm, lkml
From: Thierry Reding <hidden>
Date: 2017-08-21 07:01:59
Also in:
linux-devicetree, linux-iio, linux-pwm, lkml
On Fri, Jul 07, 2017 at 06:31:03PM +0200, Fabrice Gasnier wrote:
Add support for single PWM channel on Low-Power Timer, that can be found on some STM32 platforms. Signed-off-by: Fabrice Gasnier <redacted> --- Changes in v3: - remove prescalers[] array, use power-of-2 presc directly - Update following Thierry's comments: - fix issue using FIELD_GET() macro - Add get_state() callback - remove some checks in probe - slight rework 'reenable' flag - use more common method to disable pwm in remove() Changes in v2: - s/Low Power/Low-Power - update few comment lines --- drivers/pwm/Kconfig | 10 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-stm32-lp.c | 246 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 257 insertions(+) create mode 100644 drivers/pwm/pwm-stm32-lp.c
Sorry, this fell through the cracks: changes in v3 look good to me: Acked-by: Thierry Reding <redacted> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170821/6dbb14ed/attachment.sig>