counter: ftm-quaddec: Depend on the Layerscape SoC
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 8 Jan 2023 07:47:49 +0000 (07:47 +0000)
committerWilliam Breathitt Gray <william.gray@linaro.org>
Fri, 13 Jan 2023 20:05:41 +0000 (15:05 -0500)
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>
drivers/counter/Kconfig

index 011e6af840fcfb004b5181647779b2727937caed..ef78386ccd2e0805f1a6affe4efae668da9001a9 100644 (file)
@@ -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