summaryrefslogtreecommitdiff
path: root/drivers/timer/Kconfig
diff options
context:
space:
mode:
authorClément Léger <[email protected]>2022-03-31 10:55:06 +0200
committerEugen Hristev <[email protected]>2022-04-01 15:42:46 +0300
commit70fb1ae9dd30b1dc6cf0c6ba585f822ef58106e5 (patch)
tree9a35f4e20af3766f0e3f80a411d37d97bb199900 /drivers/timer/Kconfig
parent746b738224addbbe2d0b2e0faf8e526548192c4a (diff)
timer: atmel_tcb_timer: add atmel_tcb driver
Add a driver for the timer counter block that can be found on sama5d2. This driver will be used when booting under OP-TEE since the pit timer which is part of the SYSC is secured. Channel 1 & 2 are configured to be chained together which allows to have a 64bits counter. Reviewed-by: Claudiu Beznea <[email protected]> Signed-off-by: Clément Léger <[email protected]>
Diffstat (limited to 'drivers/timer/Kconfig')
-rw-r--r--drivers/timer/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/timer/Kconfig b/drivers/timer/Kconfig
index 89131426542..8fad59b81aa 100644
--- a/drivers/timer/Kconfig
+++ b/drivers/timer/Kconfig
@@ -96,6 +96,14 @@ config ATMEL_PIT_TIMER
it is designed to offer maximum accuracy and efficient management,
even for systems with long response time.
+config ATMEL_TCB_TIMER
+ bool "Atmel timer counter support"
+ depends on TIMER
+ depends on ARCH_AT91
+ help
+ Select this to enable the use of the timer counter as a monotonic
+ counter.
+
config CADENCE_TTC_TIMER
bool "Cadence TTC (Triple Timer Counter)"
depends on TIMER