mfd: Add STM32 LPTimer driver
authorFabrice Gasnier <fabrice.gasnier@st.com>
Mon, 28 Aug 2017 10:04:07 +0000 (12:04 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Sep 2017 13:49:04 +0000 (14:49 +0100)
commite8924005b4e7964313536547d4b73406330be26d
tree39d9d5069fb89b1db3d43678e18e241f295971cc
parenta7a0db07e9ffd55278b080b0a8e466853075f2c7
mfd: Add STM32 LPTimer driver

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 <fabrice.gasnier@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/stm32-lptimer.c [new file with mode: 0644]
include/linux/mfd/stm32-lptimer.h [new file with mode: 0644]