summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Benard <eric@eukrea.com>2010-03-19 15:27:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-03-22 08:35:01 +0100
commit8d6577aeb25d9487c1d9fccb81abb110c3a68e23 (patch)
tree8cb5825d5cc281fad230b18d03ccbf4d210303d3
parent78127b0a97c2370914ca4e7ff918fffefdbaafc2 (diff)
downloadbarebox-8d6577aeb25d9487c1d9fccb81abb110c3a68e23.tar.gz
barebox-8d6577aeb25d9487c1d9fccb81abb110c3a68e23.tar.xz
i.MX25 : add lcdc clock support
Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/speed-imx25.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/speed-imx25.c b/arch/arm/mach-imx/speed-imx25.c
index be20880b..beb7efe0 100644
--- a/arch/arm/mach-imx/speed-imx25.c
+++ b/arch/arm/mach-imx/speed-imx25.c
@@ -72,6 +72,11 @@ unsigned long imx_get_fecclk(void)
return imx_get_ipgclk();
}
+unsigned long imx_get_lcdclk(void)
+{
+ return imx_get_perclk(7);
+}
+
int imx_dump_clocks(void)
{
printf("mpll: %10d Hz\n", imx_get_mpllclk());
@@ -81,6 +86,7 @@ int imx_dump_clocks(void)
printf("uart: %10d Hz\n", imx_get_perclk(15));
printf("gpt: %10d Hz\n", imx_get_ipgclk());
printf("nand: %10d Hz\n", imx_get_perclk(8));
+ printf("lcd: %10d Hz\n", imx_get_perclk(7));
return 0;
}