summaryrefslogtreecommitdiff
path: root/drivers/counter/Makefile
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@st.com>2019-04-02 15:30:42 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-25 21:33:39 +0200
commitad29937e206f5e3fb7ef0d123902505a680f8969 (patch)
treeabe5351b277c5a69ff75c9012f05142e1de34926 /drivers/counter/Makefile
parent7e798ef90c5f7bf934b8a720eeafd0226c5394e7 (diff)
counter: Add STM32 Timer quadrature encoder
Implement counter part of the STM32 timer hardware block by using counter API. Hardware only supports X2 and X4 quadrature modes. A ceiling value can be set to define the maximum value reachable by the counter. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Co-authored-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/Makefile')
-rw-r--r--drivers/counter/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/counter/Makefile b/drivers/counter/Makefile
index aee0d2ddcf2c..6b4a5be21b00 100644
--- a/drivers/counter/Makefile
+++ b/drivers/counter/Makefile
@@ -5,3 +5,4 @@
obj-$(CONFIG_COUNTER) += counter.o
obj-$(CONFIG_104_QUAD_8) += 104-quad-8.o
+obj-$(CONFIG_STM32_TIMER_CNT) += stm32-timer-cnt.o