aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-imx-gpt.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <[email protected]>2018-11-15 22:46:57 +0000
committerDaniel Lezcano <[email protected]>2018-12-18 21:22:23 +0000
commitfa83c6f45aa560f814adfdf1a0bf523c1157dfe1 (patch)
tree1e05e53429bec294ff9d4a04709bbb0fffa56985 /drivers/clocksource/timer-imx-gpt.c
parentclocksource/drivers/meson6_timer: Use register names from the datasheet (diff)
downloadkernel-fa83c6f45aa560f814adfdf1a0bf523c1157dfe1.tar.gz
kernel-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 <[email protected]> Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-imx-gpt.c')
0 files changed, 0 insertions, 0 deletions