[PATCH 2/4] i.MX25 : add lcdc clock support
Eric Benard
eric at eukrea.com
Fri Mar 19 10:27:29 EDT 2010
Signed-off-by: Eric Benard <eric at eukrea.com>
---
arch/arm/mach-imx/speed-imx25.c | 6 ++++++
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 be20880..beb7efe 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;
}
--
1.6.3.3
More information about the barebox
mailing list