diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-08-28 12:04:09 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-09-04 15:49:09 +0200 |
commit | e70a540b4e023045a85529edbd04da73a0c72a12 (patch) | |
tree | b8da2feda9c833bbf41e5e18ae12d57bf107687c /drivers/pwm/Kconfig | |
parent | mfd: Add STM32 LPTimer driver (diff) | |
download | linux-e70a540b4e023045a85529edbd04da73a0c72a12.tar.xz linux-e70a540b4e023045a85529edbd04da73a0c72a12.zip |
pwm: Add STM32 LPTimer PWM driver
Add support for single PWM channel on Low-Power Timer, that can be
found on some STM32 platforms.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r-- | drivers/pwm/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 313c10789ca2..7cb982b54c8c 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -417,6 +417,16 @@ config PWM_STM32 To compile this driver as a module, choose M here: the module will be called pwm-stm32. +config PWM_STM32_LP + tristate "STMicroelectronics STM32 PWM LP" + depends on MFD_STM32_LPTIMER || COMPILE_TEST + help + Generic PWM framework driver for STMicroelectronics STM32 SoCs + with Low-Power Timer (LPTIM). + + To compile this driver as a module, choose M here: the module + will be called pwm-stm32-lp. + config PWM_STMPE bool "STMPE expander PWM export" depends on MFD_STMPE |