timer: atmel_tcb_timer: add atmel_tcb driver
authorClément Léger <clement.leger@bootlin.com>
Thu, 31 Mar 2022 08:55:06 +0000 (10:55 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Fri, 1 Apr 2022 12:42:46 +0000 (15:42 +0300)
commit70fb1ae9dd30b1dc6cf0c6ba585f822ef58106e5
tree9a35f4e20af3766f0e3f80a411d37d97bb199900
parent746b738224addbbe2d0b2e0faf8e526548192c4a
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 <claudiu.beznea@microchip.com>
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
MAINTAINERS
arch/arm/mach-at91/armv7/Makefile
drivers/timer/Kconfig
drivers/timer/Makefile
drivers/timer/atmel_tcb_timer.c [new file with mode: 0644]