diff options
author | Ye.Li <B37916@freescale.com> | 2014-10-30 18:20:55 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-11-03 11:21:41 +0100 |
commit | 1a1f7950781541f707a84111731634ee8b20ed61 (patch) | |
tree | 0c7a4bee352289d08daaa7b7bd0bb6a81ace81e7 /arch/x86 | |
parent | de97980478db4378719a529deb8e203e33bf6f66 (diff) | |
download | u-boot-imx-1a1f7950781541f707a84111731634ee8b20ed61.zip u-boot-imx-1a1f7950781541f707a84111731634ee8b20ed61.tar.gz u-boot-imx-1a1f7950781541f707a84111731634ee8b20ed61.tar.bz2 |
imx: gpt: Add High frequency clock source support for GPT
Introduce a new configuration "CONFIG_MXC_GPT_HCLK". When it is set,
the GPT will select a high frequency clock as clock source.
Otherwise, the GPT will stay to use 32Khz OSC as clock source.
In the implementation, since only the GPT on i.MX6 series provide the
clock source option for 24Mhz OSC. For others (only i.MX5 and i.MX6
compile the driver), if the configuration is set, the perclk will be
selected as clock source.
MX6Q/D Rev 1.0 and MX6SL are special in the implementation, because they
don't have the 24Mhz OSC clock source option, so also select the perclk
for them. For MX6SL, we will set the OSC 24Mhz to perclk in CCM, so
eventually the clock comes from OSC 24Mhz.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions