clocksource/drivers/imx-sysctr: Add internal clock divider handle
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 16 Aug 2019 00:38:42 +0000 (20:38 -0400)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 26 Aug 2019 22:31:39 +0000 (00:31 +0200)
commit4419e19d8117dda6bccfbc62090e766f469ff20a
tree40cde6606f21703137ef3173dadbadac02140a5e
parent1ce861cec03c79a68bae81a7e039edae46b2c493
clocksource/drivers/imx-sysctr: Add internal clock divider handle

The system counter block guide states that the base clock is
internally divided by 3 before use, that means the clock input of
system counter defined in DT should be base clock which is normally
from OSC, and then internally divided by 3 before use.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-imx-sysctr.c