]> git.dujemihanovic.xyz Git - u-boot.git/commit
zynq: Convert arm twd timer to DM driver
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Fri, 5 Aug 2022 06:16:28 +0000 (08:16 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Sep 2022 10:03:17 +0000 (12:03 +0200)
commitb7e0750d8872af4f294ec46533fe5243514dcb59
tree98e6eb4aa83981a002db7e83b2181e47d86ac396
parent98b3a998b31a83d8167f888b11ddd5cce8194f35
zynq: Convert arm twd timer to DM driver

Move arm twd timer driver from zynq to generic location.

DM timer drivers are designed differently to original driver. Timer is
counting up and not down.
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: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Link: https://lore.kernel.org/r/20220805061629.1207-1-stefan.herbrechtsmeier-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/Kconfig
arch/arm/dts/zynq-7000.dtsi
arch/arm/mach-zynq/Makefile
arch/arm/mach-zynq/clk.c
arch/arm/mach-zynq/timer.c [deleted file]
drivers/timer/Kconfig
drivers/timer/Makefile
drivers/timer/arm_twd_timer.c [new file with mode: 0644]