u-boot/drivers/timer
Andre Przywara 731d108dd0 timer: add SP804 UCLASS timer driver
The "Arm Ltd. Dual-Timer Module (SP804)" is a simple 32-bit count-down
timer IP with interrupt functionality, and is used in some SoCs from
various vendors.

Add a simple DM compliant timer driver, to allow users of the SP804 to
switch to DM_TIMER.

This relies on the input clock to be accessible via the DM clock
framework, which should be fine as we probably look at fixed-clock's
here anyway.
We re-program the control register in the probe() function, but keep
the divider in place, in case this has been set to something on purpose
before.

The TRM for the timer IP can be found here:
https://developer.arm.com/documentation/ddi0271/latest

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2022-11-02 13:58:17 -04:00
..
altera_timer.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
andes_plmt_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
arc_timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
arm_global_timer.c timer: sti: convert sti-timer to arm a9 global timer 2022-10-31 08:55:59 -04:00
arm_twd_timer.c zynq: Convert arm twd timer to DM driver 2022-09-12 12:03:17 +02:00
ast_timer.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
atmel_pit_timer.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
atmel_tcb_timer.c timer: atmel_tcb_timer: add atmel_tcb driver 2022-04-01 15:42:46 +03:00
cadence-ttc.c timer: cadence: Add bind function to driver 2022-03-30 14:43:26 +02:00
dw-apb-timer.c rockchip: timer: dw-apb-timer: fix whitespace in U_BOOT_DRIVER structure 2022-04-18 11:25:13 +08:00
gxp-timer.c timer: gxp: Add HPE GXP timer support 2022-06-22 21:30:04 -04:00
imx-gpt-timer.c timer: imx-gpt: Add timer support for i.MX SoCs family 2021-06-09 13:01:33 +02:00
Kconfig timer: add SP804 UCLASS timer driver 2022-11-02 13:58:17 -04:00
Makefile timer: add SP804 UCLASS timer driver 2022-11-02 13:58:17 -04:00
mchp-pit64b-timer.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc83xx_timer.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
mtk_timer.c timer: mtk: add support for MediaTek MT7981/MT7986 SoCs 2022-09-23 15:09:15 -04:00
nomadik-mtu-timer.c timer: nomadik-mtu: Use dev_read_addr_ptr() 2021-07-14 16:47:57 -04:00
npcm-timer.c timer: npcm: Add NPCM timer support 2022-05-05 09:28:47 -04:00
omap-timer.c arm: omap2plus: Move CONFIG_SYS_PTV out of CONFIG namespace 2022-06-06 12:09:00 -04:00
orion-timer.c timer: orion-timer: Only init timer once 2022-10-06 10:15:35 +02:00
ostm_timer.c Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
riscv_timer.c riscv: timer: Add support for an early timer 2021-01-18 11:06:32 +08:00
rockchip_timer.c treewide: Try to avoid the preprocessor with OF_REAL 2021-09-25 09:46:15 -06:00
sandbox_timer.c sandbox: Only call timer_timebase_fallback() if present 2021-03-27 15:04:31 +13:00
sifive_clint_timer.c timer: sifive_clint: Support the official clint DT bindings 2021-04-08 15:37:29 +08:00
sp804_timer.c timer: add SP804 UCLASS timer driver 2022-11-02 13:58:17 -04:00
stm32_timer.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
timer-uclass.c - Disable ATAGS for STM32 MCU and MPU boards 2021-10-12 12:01:00 -04:00
tsc_timer.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
xilinx-timer.c microblaze: Convert axi timer to DM driver 2022-06-24 14:16:32 +02:00