diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-06-11 23:26:17 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-06-14 12:02:33 +0200 |
commit | 385c98fcc1fb58c3e10157be2203eb37595dac7b (patch) | |
tree | cecb7dc61cc843b667e7d23e0309300f9315f0ab /drivers/cpufreq/powernow-k8.h | |
parent | clocksource/drivers: Add timer-of common init routine (diff) | |
download | linux-385c98fcc1fb58c3e10157be2203eb37595dac7b.tar.xz linux-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/cpufreq/powernow-k8.h')
0 files changed, 0 insertions, 0 deletions