]> git.dujemihanovic.xyz Git - u-boot.git/commit
microblaze: Convert axi timer to DM driver
authorMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:16:32 +0000 (14:16 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:16:32 +0000 (14:16 +0200)
commita36d86720f23a6dd503073a82905002b88c8e363
tree9b6eeeeb3b352149ef31963ba044845703c46f39
parent816226d27efa22d89821dfd0796f763a24c33944
microblaze: Convert axi timer to DM driver

Move axi timer driver from Microblaze to generic location.
Origin implementation was irq based with counting down timer.

CONFIG_TIMER drivers are designed differently that timer is free running up
timer with automatic reload without any interrupt.
Information about clock rates are find out in timer_pre_probe() that's why
there is no need to get any additional information from DT in the driver
itself (only register offset).

Signed-off-by: Michal Simek <michal.simek@amd.com>
Tested-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Link: https://lore.kernel.org/r/6c12fc86bbc1f17d05c25018862e7b7b03346b36.1654684731.git.michal.simek@amd.com
MAINTAINERS
arch/Kconfig
arch/microblaze/cpu/Makefile
arch/microblaze/cpu/timer.c [deleted file]
arch/microblaze/include/asm/microblaze_timer.h [deleted file]
drivers/timer/Kconfig
drivers/timer/Makefile
drivers/timer/xilinx-timer.c [new file with mode: 0644]