Re: [RESEND PATCH v3 2/9] mfd: Add STM32 LPTimer driver
From: Lee Jones <hidden>
Date: 2017-09-04 13:46:39
Also in:
linux-arm-kernel, linux-iio, linux-pwm, lkml
From: Lee Jones <hidden>
Date: 2017-09-04 13:46:39
Also in:
linux-arm-kernel, linux-iio, linux-pwm, lkml
On Mon, 28 Aug 2017, Fabrice Gasnier wrote:
STM32 Low-Power Timer hardware block can be used for: - PWM generation - IIO trigger (in sync with PWM) - IIO quadrature encoder counter PWM and IIO timer configuration are mixed in the same registers so we need a multi fonction driver to be able to share those registers. Signed-off-by: Fabrice Gasnier <redacted> --- Changes in v2: - Lee's remarks: various comments, max register define, s/Low Power/Low-Power, clock name, removed reset, add kernel doc for stm32_lptimer struct --- drivers/mfd/Kconfig | 14 +++++ drivers/mfd/Makefile | 1 + drivers/mfd/stm32-lptimer.c | 107 ++++++++++++++++++++++++++++++++++++++ include/linux/mfd/stm32-lptimer.h | 62 ++++++++++++++++++++++ 4 files changed, 184 insertions(+) create mode 100644 drivers/mfd/stm32-lptimer.c create mode 100644 include/linux/mfd/stm32-lptimer.h
Acked-by: Lee Jones <redacted> -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html