ARM: S3C64XX: Add USB OTG HCLK to the list of clocks
authorThomas Abraham <thomas.ab@samsung.com>
Fri, 28 May 2010 02:41:14 +0000 (11:41 +0900)
committerBen Dooks <ben-linux@fluff.org>
Fri, 28 May 2010 10:31:34 +0000 (19:31 +0900)
Add the USB OTG HCLK clock to the list of clocks to be registered
during initialization.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c64xx/clock.c

index 7a4138b..fbd85a9 100644 (file)
@@ -259,6 +259,12 @@ static struct clk init_clocks[] = {
                .enable         = s3c64xx_hclk_ctrl,
                .ctrlbit        = S3C_CLKCON_HCLK_HSMMC2,
        }, {
+               .name           = "otg",
+               .id             = -1,
+               .parent         = &clk_h,
+               .enable         = s3c64xx_hclk_ctrl,
+               .ctrlbit        = S3C_CLKCON_HCLK_USB,
+       }, {
                .name           = "timers",
                .id             = -1,
                .parent         = &clk_p,