]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb683ac0d9b07d32e469311eba3f7bd34ece23678
tree40cde6606f21703137ef3173dadbadac02140a5e
parentf191ddaea1b9236a5863cddc8d8a820300bbfd5d
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