summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx3
diff options
context:
space:
mode:
authorHarro Haan <hrhaan@yahoo.com>2009-11-27 11:44:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-30 10:04:46 +0100
commit3e9a23dbaf581978d6e3eb8c92329ea622fce8ba (patch)
tree056c307cb7b0f39b75e98e60c8f2d7bcb8558c88 /arch/arm/mach-mx3
parent415c7d26d28fa10edb46503a8dd5b6440d479c0b (diff)
downloadlinux-3.10-3e9a23dbaf581978d6e3eb8c92329ea622fce8ba.tar.gz
linux-3.10-3e9a23dbaf581978d6e3eb8c92329ea622fce8ba.tar.bz2
linux-3.10-3e9a23dbaf581978d6e3eb8c92329ea622fce8ba.zip
mx35: register usb_ahb clock in clock-imx35.c
Signed-off-by: Harro Haan <hrhaan@yahoo.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r--arch/arm/mach-mx3/clock-imx35.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/clock-imx35.c b/arch/arm/mach-mx3/clock-imx35.c
index 18d4775ff5f..7584b4c6c55 100644
--- a/arch/arm/mach-mx3/clock-imx35.c
+++ b/arch/arm/mach-mx3/clock-imx35.c
@@ -387,6 +387,8 @@ DEFINE_CLOCK(csi_clk, 0, CCM_CGR3, 0, get_rate_csi, NULL);
DEFINE_CLOCK(iim_clk, 0, CCM_CGR3, 2, NULL, NULL);
DEFINE_CLOCK(gpu2d_clk, 0, CCM_CGR3, 4, NULL, NULL);
+DEFINE_CLOCK(usbahb_clk, 0, 0, 0, get_rate_ahb, NULL);
+
static int clk_dummy_enable(struct clk *clk)
{
return 0;
@@ -471,6 +473,7 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("mxc-ehci.1", "usb", usbotg_clk)
_REGISTER_CLOCK("mxc-ehci.2", "usb", usbotg_clk)
_REGISTER_CLOCK("fsl-usb2-udc", "usb", usbotg_clk)
+ _REGISTER_CLOCK("fsl-usb2-udc", "usb_ahb", usbahb_clk)
_REGISTER_CLOCK("imx-wdt.0", NULL, wdog_clk)
_REGISTER_CLOCK(NULL, "max", max_clk)
_REGISTER_CLOCK(NULL, "audmux", audmux_clk)