MLK-18142 imx: timer: Modify GPT timer driver for mx7
authorYe Li <ye.li@nxp.com>
Fri, 23 Mar 2018 06:45:26 +0000 (23:45 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:23 +0000 (04:28 -0700)
commitc3fa80efdb8680b4b35bc5b3607c148c3c48732b
tree092524c2cfb7886f9b696223e62ca3da7e78f9a7
parent338f20a1804a21ae11b70b83bd820e0e7e399a1d
MLK-18142 imx: timer: Modify GPT timer driver for mx7

Modify the GPT common platform driver for mx7 which only use 24Mhz
OSC as clock source.

Note: at default, the mx7d will use system counter as timer. The GPT
is disabled.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
(cherry picked from commit ff8902ab14705935a30f318db8d1c71ce3cc40dc)
arch/arm/mach-imx/timer.c