hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/drivers/clocksource/Kconfig
....@@ -405,8 +405,11 @@
405405 This options enables support for the ARMv7M system timer unit
406406
407407 config ATMEL_PIT
408
+ bool "Microchip ARM Periodic Interval Timer (PIT)" if COMPILE_TEST
408409 select TIMER_OF if OF
409
- def_bool SOC_AT91SAM9 || SOC_SAMA5
410
+ help
411
+ This enables build of clocksource and clockevent driver for
412
+ the integrated PIT in Microchip ARM SoCs.
410413
411414 config ATMEL_ST
412415 bool "Atmel ST timer support" if COMPILE_TEST
....@@ -416,6 +419,14 @@
416419 help
417420 Support for the Atmel ST timer.
418421
422
+config ATMEL_ARM_TCB_CLKSRC
423
+ bool "Microchip ARM TC Block" if COMPILE_TEST
424
+ select REGMAP_MMIO
425
+ depends on GENERIC_CLOCKEVENTS
426
+ help
427
+ This enables build of clocksource and clockevent driver for
428
+ the integrated Timer Counter Blocks in Microchip ARM SoCs.
429
+
419430 config CLKSRC_EXYNOS_MCT
420431 bool "Exynos multi core timer driver" if COMPILE_TEST
421432 depends on ARM || ARM64