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>
This commit is contained in:
committed by
Michal Simek
parent
98b3a998b3
commit
b7e0750d88
@@ -73,6 +73,12 @@ config ARC_TIMER
|
||||
usually at least one of them exists. Either of them is supported
|
||||
in U-Boot.
|
||||
|
||||
config ARM_TWD_TIMER
|
||||
bool "ARM timer watchdog (TWD) timer support"
|
||||
depends on TIMER && CLK
|
||||
help
|
||||
Select this to enable support for the ARM global timer watchdog timer.
|
||||
|
||||
config AST_TIMER
|
||||
bool "Aspeed ast2400/ast2500 timer support"
|
||||
depends on TIMER
|
||||
|
||||
Reference in New Issue
Block a user