aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-prima2.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-06-11 23:26:17 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-06-14 12:02:33 +0200
commit385c98fcc1fb58c3e10157be2203eb37595dac7b (patch)
treececb7dc61cc843b667e7d23e0309300f9315f0ab /drivers/clocksource/timer-prima2.c
parentclocksource/drivers: Add timer-of common init routine (diff)
downloadlinux-dev-385c98fcc1fb58c3e10157be2203eb37595dac7b.tar.xz
linux-dev-385c98fcc1fb58c3e10157be2203eb37595dac7b.zip
clocksource/drivers/fttmr010: Implement delay timer
This timer is often used on the ARM architecture, so as with so many siblings, we can implement delay timers, removing the need for the system to calibrate jiffys at boot, and potentially handling CPU frequency scaling on targets. We cannot just protect the Kconfig with a "depends on ARM" because it is already known that different architectures are using Faraday IP blocks, so it is better to make things open-ended and use Result on boot dmesg: Switching to timer-based delay loop, resolution 40n Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000) This is accurately the timer frequency, 250MHz on the APB bus. Cc: Andrew Jeffery <andrew@aj.id.au> Cc: Joel Stanley <joel@jms.id.au> Cc: Jonas Jensen <jonas.jensen@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Jonas Jensen <jonas.jensen@gmail.com> Tested-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/timer-prima2.c')
0 files changed, 0 insertions, 0 deletions