diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2018-11-15 23:46:57 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-12-18 22:22:23 +0100 |
commit | fa83c6f45aa560f814adfdf1a0bf523c1157dfe1 (patch) | |
tree | 1e05e53429bec294ff9d4a04709bbb0fffa56985 /drivers/clocksource/Kconfig | |
parent | clocksource/drivers/meson6_timer: Use register names from the datasheet (diff) | |
download | linux-fa83c6f45aa560f814adfdf1a0bf523c1157dfe1.tar.xz linux-fa83c6f45aa560f814adfdf1a0bf523c1157dfe1.zip |
clocksource/drivers/meson6_timer: Implement the ARM delay timer
Implement an ARM delay timer to be used for udelay(). This allows us to
skip the delay loop calibration at boot.
With this patch udelay() is now independent of CPU frequency changes.
This is a good thing on Meson8, Meson8b and Meson8m2 because changing
the CPU frequency requires running the CPU clock off the XTAL while
changing the PLL or it's dividers. After changing the CPU clocks we need
to wait a few usecs for the clock to become stable. So having an
udelay() implementation that doesn't depend on the CPU frequency is
beneficial.
Suggested-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
0 files changed, 0 insertions, 0 deletions