summaryrefslogtreecommitdiffstats
path: root/drivers/counter/Kconfig
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2023-01-08 07:47:49 +0000
committerWilliam Breathitt Gray <william.gray@linaro.org>2023-01-13 15:05:41 -0500
commit3760b49af5bc773a1679cd2e9dbef3c2532726af (patch)
tree425424485eefe975fe069572fe2fdbdba5d67f47 /drivers/counter/Kconfig
parent92a3337081e55eee0491b2a0255a45e7f583fff6 (diff)
downloadlinux-3760b49af5bc773a1679cd2e9dbef3c2532726af.tar.gz
linux-3760b49af5bc773a1679cd2e9dbef3c2532726af.tar.bz2
linux-3760b49af5bc773a1679cd2e9dbef3c2532726af.zip
counter: ftm-quaddec: Depend on the Layerscape SoC
At the moment only the Freescale LS1021A is the only HW that supports this IP block so add an appropriate dependency and compile test. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Link: https://lore.kernel.org/r/20230108074750.443705-3-pbrobinson@gmail.com/ Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'drivers/counter/Kconfig')
-rw-r--r--drivers/counter/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig
index 011e6af840fc..ef78386ccd2e 100644
--- a/drivers/counter/Kconfig
+++ b/drivers/counter/Kconfig
@@ -31,6 +31,7 @@ config 104_QUAD_8
config FTM_QUADDEC
tristate "Flex Timer Module Quadrature decoder driver"
+ depends on SOC_LS1021A || COMPILE_TEST
depends on HAS_IOMEM && OF
help
Select this option to enable the Flex Timer Quadrature decoder