diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-08-28 12:04:13 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-09-04 14:49:30 +0100 |
commit | d8958824cf0714cc4ddcf320cf12028277ad55c4 (patch) | |
tree | bd94b7676d3f8c63b310ea90ca2c03a1e539fedb /drivers/iio/counter/Kconfig | |
parent | 717e6922de754c3aa5da5a1e417683cc899efe1c (diff) | |
download | linux-d8958824cf0714cc4ddcf320cf12028277ad55c4.tar.bz2 |
iio: counter: Add support for STM32 LPTimer
Add support for STM32 Low-Power Timer, that can be used as counter
or quadrature encoder.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/iio/counter/Kconfig')
-rw-r--r-- | drivers/iio/counter/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/iio/counter/Kconfig b/drivers/iio/counter/Kconfig index b37e5fc03149..474e1ac4e7c0 100644 --- a/drivers/iio/counter/Kconfig +++ b/drivers/iio/counter/Kconfig @@ -21,4 +21,13 @@ config 104_QUAD_8 The base port addresses for the devices may be configured via the base array module parameter. +config STM32_LPTIMER_CNT + tristate "STM32 LP Timer encoder counter driver" + depends on MFD_STM32_LPTIMER || COMPILE_TEST + help + Select this option to enable STM32 Low-Power Timer quadrature encoder + and counter driver. + + To compile this driver as a module, choose M here: the + module will be called stm32-lptimer-cnt. endmenu |