counter: ti-eqep: Allow eQEP driver to be built for K3 devices
authorJudith Mendez <jm@ti.com>
Wed, 12 Jun 2024 13:55:38 +0000 (08:55 -0500)
committerWilliam Breathitt Gray <wbg@kernel.org>
Mon, 1 Jul 2024 10:05:42 +0000 (19:05 +0900)
TI K3 SoC's support eQEP hardware, so add ARCH_K3 to the depends
so the TI eQEP driver can be built for K3 devices.

Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20240612135538.2447938-9-jm@ti.com
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
drivers/counter/Kconfig

index 497bc05dca4df07d608e61c68507b9fd57f75e59..d30d22dfe57741b145a45632b6325d5f9680590e 100644 (file)
@@ -138,7 +138,7 @@ config TI_ECAP_CAPTURE
 
 config TI_EQEP
        tristate "TI eQEP counter driver"
-       depends on (SOC_AM33XX || COMPILE_TEST)
+       depends on SOC_AM33XX || ARCH_K3 || COMPILE_TEST
        select REGMAP_MMIO
        help
          Select this option to enable the Texas Instruments Enhanced Quadrature