clocksource/drivers/nomadik-mtu: Handle 32kHz clock
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 28 Jun 2020 22:01:53 +0000 (00:01 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 23 Jul 2020 14:57:43 +0000 (16:57 +0200)
commitaaea0b83458cdb3467e27deb7403b4403152dbd6
tree19857f94f83b67fad70242c754e9dce6eae67961
parentad7794d4dd0c3f03a81a0dbec3e9e3906edb9893
clocksource/drivers/nomadik-mtu: Handle 32kHz clock

It happens on the U8420-sysclk Ux500 PRCMU firmware
variant that the MTU clock is just 32768 Hz, and in this
mode the minimum ticks is 5 rather than two.

I think this is simply so that there is enough time
for the register write to propagate through the
interconnect to the registers.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200628220153.67011-1-linus.walleij@linaro.org
drivers/clocksource/nomadik-mtu.c