ARM: S3C64XX: SPI: Define SPI-48M clock sources
authorJassi Brar <jassi.brar@samsung.com>
Mon, 18 Jan 2010 07:15:08 +0000 (16:15 +0900)
committerBen Dooks <ben-linux@fluff.org>
Mon, 18 Jan 2010 08:26:58 +0000 (17:26 +0900)
Defined special 48MHz clock sources for SPI-0,1.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c64xx/clock.c

index ae5883c..2989c3a 100644 (file)
@@ -140,6 +140,18 @@ static struct clk init_clocks_disable[] = {
                .parent         = &clk_p,
                .enable         = s3c64xx_pclk_ctrl,
                .ctrlbit        = S3C_CLKCON_PCLK_SPI1,
+       }, {
+               .name           = "spi_48m",
+               .id             = 0,
+               .parent         = &clk_48m,
+               .enable         = s3c64xx_sclk_ctrl,
+               .ctrlbit        = S3C_CLKCON_SCLK_SPI0_48,
+       }, {
+               .name           = "spi_48m",
+               .id             = 1,
+               .parent         = &clk_48m,
+               .enable         = s3c64xx_sclk_ctrl,
+               .ctrlbit        = S3C_CLKCON_SCLK_SPI1_48,
        }, {
                .name           = "48m",
                .id             = 0,