diff mbox series

[4/4] counter: microchip: Add appropriate arch deps for TCP driver

Message ID 20230108074750.443705-4-pbrobinson@gmail.com (mailing list archive)
State Handled Elsewhere
Headers show
Series [1/4] counter: Sort the Kconfig entries alphabetically | expand

Commit Message

Peter Robinson Jan. 8, 2023, 7:47 a.m. UTC
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>
---
 drivers/counter/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

William Breathitt Gray Jan. 13, 2023, 7:54 p.m. UTC | #1
On Sun, Jan 08, 2023 at 07:47:50AM +0000, Peter Robinson wrote:
> 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>

Applied to counter-next, thanks.

William Breathitt Gray
diff mbox series

Patch

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