diff options
author | Jonas Jensen <jonas.jensen@gmail.com> | 2013-07-17 10:04:57 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-07-18 15:27:47 +0200 |
commit | 07862c1cd6675cde2dd4bd64e64d704ea2185b79 (patch) | |
tree | 51015cae3e661add432497bf9f44711789742ee4 /drivers/cpufreq/dbx500-cpufreq.c | |
parent | clocksource: cadence_ttc: Reuse clocksource as sched_clock (diff) | |
download | linux-07862c1cd6675cde2dd4bd64e64d704ea2185b79.tar.xz linux-07862c1cd6675cde2dd4bd64e64d704ea2185b79.zip |
ARM: clocksource: Add support for MOXA ART SoCs
This patch adds an clocksource driver for the main timer(s)
found on MOXA ART SoCs.
The MOXA ART SoC provides three separate timers with individual
count/load/match registers, two are used here:
TIMER1: clockevents, used to support oneshot and periodic events
TIMER2: set up as a free running counter, used as clocksource
Timers are preconfigured by bootloader to count down and interrupt
on match or zero. Count increments every APB clock cycle and is
automatically reloaded when it reaches zero.
Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/cpufreq/dbx500-cpufreq.c')
0 files changed, 0 insertions, 0 deletions