clocksource: import ARC timer driver
authorVineet Gupta <vgupta@synopsys.com>
Mon, 31 Oct 2016 20:46:38 +0000 (13:46 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 30 Nov 2016 19:54:25 +0000 (11:54 -0800)
commitc4c9a040ecb7297e011e579f5a9cc280e42d725f
treea62aff3aba526fea0ccbff23f76bfa88f319dd8d
parentb26c2e3823bae6ba43a2b263d9bb75a3efd39b6a
clocksource: import ARC timer driver

This adds support for

 - CONFIG_ARC_TIMERS : legacy 32-bit TIMER0 and TIMER1 which count UP
   from @CNT to @LIMIT, before optionally triggering an interrupt.
   These are programmed using ARC auxiliary register interface.
   These are present in all ARC cores (ARC700 and ARC HS38)
   TIMER0 serves as clockevent for all ARC linux builds.
   TIMER1 is used for clocksource in arc700 builds.

 - CONFIG_ARC_TIMERS_64BIT: 64-bit counters, RTC and GFRC found in
   ARC HS38 cores. These are independnet IP blocks with different
   programming model respectively.

Link: http://lkml.kernel.org/r/20161111231132.GA4186@mai
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
MAINTAINERS
arch/arc/Kconfig
arch/arc/kernel/Makefile
arch/arc/kernel/time.c [deleted file]
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/arc_timer.c [new file with mode: 0644]