timer: Add driver for Nomadik Multi Timer Unit (MTU)

The Nomadik Multi Timer Unit (MTU) provides 4 decrementing
free-running timers. It is used in ST-Ericsson Ux500 SoCs.

The driver uses the first timer to implement UCLASS_TIMER.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Stephan Gerhold
2020-01-04 18:45:15 +01:00
committed by Tom Rini
parent c82216803d
commit 057b613990
3 changed files with 124 additions and 0 deletions

View File

@@ -127,6 +127,15 @@ config X86_TSC_TIMER_EARLY_FREQ
hardware ways, nor got from device tree at the time when device
tree is not available yet.
config NOMADIK_MTU_TIMER
bool "Nomadik MTU Timer"
depends on TIMER
help
Enables support for the Nomadik Multi Timer Unit (MTU),
used in ST-Ericsson Ux500 SoCs.
The MTU provides 4 decrementing free-running timers.
At the moment, only the first timer is used by the driver.
config OMAP_TIMER
bool "Omap timer support"
depends on TIMER