mx35: register usb_ahb clock in clock-imx35.c
authorHarro Haan <hrhaan@yahoo.com>
Fri, 27 Nov 2009 10:44:35 +0000 (11:44 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 30 Nov 2009 09:04:46 +0000 (10:04 +0100)
Signed-off-by: Harro Haan <hrhaan@yahoo.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/clock-imx35.c

index 18d4775ff5fbcaa2f66602812102a0960ad61f31..7584b4c6c556d6a23d3d7fa30567d0de4fdbd6c3 100644 (file)
@@ -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)