[ARM] S3C64XX: Configure clocks for DMA controller
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 Apr 2009 15:06:24 +0000 (16:06 +0100)
committerBen Dooks <ben-linux@fluff.org>
Thu, 7 May 2009 10:14:27 +0000 (11:14 +0100)
Add missing DMA controller block clocks.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c64xx/clock.c

index 679076f..0bc2fa1 100644 (file)
@@ -158,6 +158,18 @@ static struct clk init_clocks_disable[] = {
                .parent         = &clk_48m,
                .enable         = s3c64xx_sclk_ctrl,
                .ctrlbit        = S3C_CLKCON_SCLK_MMC2_48,
+       }, {
+               .name           = "dma0",
+               .id             = -1,
+               .parent         = &clk_h,
+               .enable         = s3c64xx_hclk_ctrl,
+               .ctrlbit        = S3C_CLKCON_HCLK_DMA0,
+       }, {
+               .name           = "dma1",
+               .id             = -1,
+               .parent         = &clk_h,
+               .enable         = s3c64xx_hclk_ctrl,
+               .ctrlbit        = S3C_CLKCON_HCLK_DMA1,
        },
 };