summaryrefslogtreecommitdiffstats
path: root/drivers/counter/Kconfig
diff options
context:
space:
mode:
authorFabrice Gasnier2019-04-02 08:30:44 +0200
committerGreg Kroah-Hartman2019-04-25 21:33:41 +0200
commit597f55e3f36cb512ad82e22f67b9e0962ac1059f (patch)
treefe1fc5bbd491117c4f696860922a5420a5bbb763 /drivers/counter/Kconfig
parentdt-bindings: counter: Document stm32 quadrature encoder (diff)
downloadkernel-qcow2-linux-597f55e3f36cb512ad82e22f67b9e0962ac1059f.tar.gz
kernel-qcow2-linux-597f55e3f36cb512ad82e22f67b9e0962ac1059f.tar.xz
kernel-qcow2-linux-597f55e3f36cb512ad82e22f67b9e0962ac1059f.zip
counter: stm32-lptimer: add counter device
Add support for new counter device to stm32-lptimer. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/counter/Kconfig')
-rw-r--r--drivers/counter/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig
index 0bb2340d6087..87c491a19c63 100644
--- a/drivers/counter/Kconfig
+++ b/drivers/counter/Kconfig
@@ -38,4 +38,14 @@ config STM32_TIMER_CNT
To compile this driver as a module, choose M here: the
module will be called stm32-timer-cnt.
+config STM32_LPTIMER_CNT
+ tristate "STM32 LP Timer encoder counter driver"
+ depends on (MFD_STM32_LPTIMER || COMPILE_TEST) && IIO
+ 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.
+
endif # COUNTER