clocksource: ep93xx: Add driver for Cirrus Logic EP93xx
authorNikita Shubin <nikita.shubin@maquefel.me>
Fri, 15 Sep 2023 08:10:54 +0000 (11:10 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 15 Oct 2023 21:36:36 +0000 (23:36 +0200)
commitc28ca80ba3b531a79402d61046aef83272f86b08
tree956ff6e97a51f23774878f2a536bad2530debfcd
parent81824f7c8fb0485a5007bf0e60718afdecdef60c
clocksource: ep93xx: Add driver for Cirrus Logic EP93xx

Rewrite EP93xx timer driver located in arch/arm/mach-ep93xx/timer-ep93xx.c
trying to do everything the device tree way:

- Make every IO-access relative to a base address and dynamic
  so we can do a dynamic ioremap and get going.
- Find register range and interrupt from the device tree.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230915-ep93xx-v4-12-a1d779dcec10@maquefel.me
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/timer-ep93xx.c [new file with mode: 0644]