u-boot/drivers
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
..
adc adc: meson-saradc: add AXG variant 2022-04-25 09:25:00 +02:00
ata blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
axi WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
bios_emulator video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
block dm: blk: mmc: Tidy up some Makefile rules for SPL 2022-10-31 11:02:44 -04:00
bootcount bootcount: pmic: Correct misleading comment 2022-10-11 15:40:48 -04:00
bus bus: ti-sysc: change in a normal driver 2021-03-22 19:23:27 +13:00
button button: gpio: add DM_GPIO dependency 2022-08-23 12:39:06 +02:00
cache drivers: cache: ncore: Disable snoop filter 2022-06-17 16:27:05 +08:00
clk u-boot-imx-20221024 2022-10-24 10:04:30 -04:00
core dm: core: Do not stop uclass iteration on error 2022-10-29 07:36:33 -06:00
cpu dm: treewide: Do not opencode uclass_probe_all() 2022-10-17 21:17:12 -06:00
crypto crypto: hash: sw: fix Kconfig dependencies 2022-10-26 15:21:11 -04:00
ddr imx8m: fix reading of DDR4 MR registers [again] 2022-10-24 11:34:33 +02:00
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
dma dm: treewide: Do not use the return value of simple uclass iterator 2022-10-29 07:36:33 -06:00
fastboot Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
firmware firmware: scmi: fix the multi channel support with CCF 2022-10-12 08:55:31 -04:00
fpga fpga: virtex2: Use logging feature instead of FPGA_DEBUG 2022-10-10 12:28:08 +02:00
fuzz sandbox: Implement fuzzing engine driver 2022-06-23 12:58:19 -04:00
fwu-mdata FWU: Add FWU metadata access driver for GPT partitioned block devices 2022-10-31 14:47:32 -04:00
gpio arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855 2022-10-31 08:55:59 -04:00
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c i2c: add support for MediaTek I2C interface 2022-09-23 15:09:15 -04:00
input input: Remove legacy KEYBOARD option 2022-10-21 13:47:56 -04:00
iommu iommu: Add M2 support to Apple DART driver 2022-07-25 09:38:47 -04:00
led arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855 2022-10-31 08:55:59 -04:00
mailbox mailbox: zynqmp: Enable ipi mailbox driver for Versal NET 2022-09-26 14:23:29 +02:00
memory memory: Add TI GPMC driver 2022-10-26 15:21:12 -04:00
misc misc: usb251xb: Support 8/16 bit device tree values 2022-09-14 15:23:03 -04:00
mmc dm: mmc: Allow sandbox emulator to build without writes 2022-10-31 11:02:44 -04:00
mtd arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855 2022-10-31 08:55:59 -04:00
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net net/ftgmac100: Add NC-SI mode support 2022-10-21 16:04:39 -04:00
nvme Merge branch 'master' into next 2022-09-19 16:07:12 -04:00
pch treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
pci - fix [hv]sync active vs back porch in dw_mipi_dsi 2022-10-30 17:16:35 -04:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy phy: ti: j721e-wiz: add j784s4-wiz-10g module support 2022-10-18 09:48:22 -04:00
pinctrl pinctrl: nuvoton: Add NPCM8xx pinctrl driver 2022-11-02 13:31:40 -04:00
power power: fan53555: Fix missing newline in error message 2022-10-26 11:47:25 +09:00
pwm pwm: mtk: add support for MediaTek MT7981 SoC 2022-09-23 15:09:15 -04:00
qe powerpc: remove support for kmtergr1 and MPC8309 2022-08-20 22:45:00 -04:00
ram ram: rockchip: fix typo in KConfig option label 2022-10-19 19:30:48 +08:00
reboot-mode reboot-mode: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
remoteproc remoteproc: ipu: Add driver to bring up ipu 2022-02-08 11:00:03 -05:00
reset reset: zynqmp: Enable reset driver for Versal NET 2022-09-26 14:23:29 +02:00
rng drivers: rng: optee_rng: register to CONFIG_OPTEE_SERVICE_DISCOVERY 2022-09-14 15:23:03 -04:00
rtc treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
scsi usb: Update the test to cover reading and writing 2022-10-31 11:02:44 -04:00
serial video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
smem smem: msm: add missing <linux/sizes.h> 2022-10-12 08:56:24 -04:00
soc soc: xilinx: zynqmp: Mark soc_xilinx_zynqmp_get_machine() as static 2022-10-10 12:28:08 +02:00
sound sound: enable building DA7219 driver with ACPIGEN=n 2022-07-08 09:05:47 -04:00
spi Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-spi.git 2022-11-02 09:09:57 -04:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo dm: core: Switch uclass_*_device_err to use uclass_*_device_check 2022-10-29 07:36:33 -06:00
sysreset dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
tee blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
thermal thermal: add sandbox driver 2022-10-11 16:03:03 -04:00
timer timer: add SP804 UCLASS timer driver 2022-11-02 13:58:17 -04:00
tpm tpm: Implement state command for Cr50 2022-09-03 16:59:05 +03:00
ufs lib: fix selection of CONFIG_CHARSET 2022-05-03 21:39:22 +02:00
usb usb: Update the test to cover reading and writing 2022-10-31 11:02:44 -04:00
video video: Rename CONFIG_DM_VIDEO to CONFIG_VIDEO 2022-10-30 20:07:17 +01:00
virtio dm: treewide: Do not opencode uclass_probe_all() 2022-10-17 21:17:12 -06:00
w1 dm: treewide: Do not use the return value of simple uclass iterator 2022-10-29 07:36:33 -06:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog arm: bcmbca: replace ARCH_BCM6753 symbols in Kconfig with BCM6855 2022-10-31 08:55:59 -04:00
xen dm: core: Switch uclass_foreach_dev_probe to use simple iterator 2022-10-17 21:17:12 -06:00
Kconfig FWU: Add support for the FWU Multi Bank Update feature 2022-10-31 14:47:32 -04:00
Makefile FWU: Add support for the FWU Multi Bank Update feature 2022-10-31 14:47:32 -04:00