summaryrefslogtreecommitdiff
path: root/drivers/counter
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2023-01-08 07:47:50 +0000
committerWilliam Breathitt Gray <william.gray@linaro.org>2023-01-13 15:05:56 -0500
commitdfeef15e73ca22455c1dd51c0ebc477145081630 (patch)
tree3687a8ba428a4c370d7912733be429e9ead737e1 /drivers/counter
parent3760b49af5bc773a1679cd2e9dbef3c2532726af (diff)
counter: microchip-tcp-capture: Add appropriate arch deps for TCP driver
Add the CONFIG_SOC_AT91SAM9 and CONFIG_SOC_SAM_V7 deps for the Microchip SoCs that support this IP block/driver plus compile time testing. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Link: https://lore.kernel.org/r/20230108074750.443705-4-pbrobinson@gmail.com/ Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'drivers/counter')
-rw-r--r--drivers/counter/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig
index ef78386ccd2e..90602536fb13 100644
--- a/drivers/counter/Kconfig
+++ b/drivers/counter/Kconfig
@@ -63,6 +63,7 @@ config INTERRUPT_CNT
config MICROCHIP_TCB_CAPTURE
tristate "Microchip Timer Counter Capture driver"
+ depends on CONFIG_SOC_AT91SAM9 || CONFIG_SOC_SAM_V7 || COMPILE_TEST
depends on HAS_IOMEM && OF
select REGMAP_MMIO
help