iio: counter: Add support for STM32 LPTimer
authorFabrice Gasnier <fabrice.gasnier@st.com>
Mon, 28 Aug 2017 10:04:13 +0000 (12:04 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Sep 2017 13:49:30 +0000 (14:49 +0100)
commitd8958824cf0714cc4ddcf320cf12028277ad55c4
treebd94b7676d3f8c63b310ea90ca2c03a1e539fedb
parent717e6922de754c3aa5da5a1e417683cc899efe1c
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>
Documentation/ABI/testing/sysfs-bus-iio-lptimer-stm32 [new file with mode: 0644]
drivers/iio/counter/Kconfig
drivers/iio/counter/Makefile
drivers/iio/counter/stm32-lptimer-cnt.c [new file with mode: 0644]