ARM: meson6: clocksource: Add Meson6 timer support
authorCarlo Caione <carlo@caione.org>
Sun, 28 Sep 2014 23:50:05 +0000 (01:50 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 28 Sep 2014 23:50:05 +0000 (01:50 +0200)
commite4a6b378751fa8934c691816da1423e849059fad
tree0c4873fe7971962d0ef1610f8f01f69e8e7ce651
parent66b2e373b3092ee8b1131c790074e7eb20ed1545
ARM: meson6: clocksource: Add Meson6 timer support

Meson6 SoCs are equipped with 5 32-bit timers, called TIMER_A, TIMER_B,
TIMER_C, TIMER_D and TIMER_E.

The driver is providing clocksource support for the 32-bit counter using
TIMER_E. Clockevents are also supported using TIMER_A.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Carlo Caione <carlo@caione.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/meson6_timer.c [new file with mode: 0644]