]> git.baikalelectronics.ru Git - kernel.git/commit
i.MX25 GPT clock fix: ensure correct the clock source
authorMehnert, Torsten <T.Mehnert@eckelmann.de>
Mon, 1 Aug 2011 08:02:07 +0000 (08:02 +0000)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 1 Aug 2011 10:17:49 +0000 (12:17 +0200)
commit604e5f3a5f557e66e9dd81dbb35a2e84b78bd5ea
treea05ea02c69c70febd63b6c7960cbe59e05812360
parentcde409493d361dda89976adb8cdd049899d04a1c
i.MX25 GPT clock fix: ensure correct the clock source

Request for comment and commit.

From: T. Mehnert <t.mehnert@eckelmann.de>
Date: Mon, 4 Jul 2011 15:53:30 +0200
Subject: [PATCH] i.MX25 GPT clock fix: ensure correct the clock source

This patch ensures, that Linux will take the correct clock source (AHB_DIV)
for gpt in the ARM i.MX25 implementation. The currect code depends on the reset
defaults of the CCM_MCR register. So on some boards it could happen that the
UPLL is used for clock source, which results in faulty time behavior in Linux.
In this case all delays or sleeps will will be faktor 1.8 too long.

Signed-off-by: Torsten Mehnert <t.mehnert@eckelmann.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/clock-imx25.c