]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit2a7293431942fc638bb0c97ca84c186234d6c4ef
tree9a35f4e20af3766f0e3f80a411d37d97bb199900
parent5c1c6948291537b0d97b329662dbde7ccdb91e97
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]