ARM: S3C64XX: Declare IISv4 PCLK for S3C6410
authorJassi Brar <jassi.brar@samsung.com>
Wed, 17 Feb 2010 19:03:19 +0000 (19:03 +0000)
committerBen Dooks <ben-linux@fluff.org>
Wed, 24 Feb 2010 02:08:15 +0000 (02:08 +0000)
[Updated the device ID to -1 since there's only one IISv4 device but the
S3C clock API tries to match based on the ID of the requesting device
(and not the name) -- broonie.]

Signed-Off-by: Jassi Brar <jassi.brar@samsung.com>
[ben-linux@fluff.org: Fixed Jassi's lastname]
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c64xx/clock.c

index 7f5e1aa..2ac2e7d 100644 (file)
@@ -151,6 +151,14 @@ static struct clk init_clocks_disable[] = {
                .enable         = s3c64xx_pclk_ctrl,
                .ctrlbit        = S3C_CLKCON_PCLK_IIS1,
        }, {
+#ifdef CONFIG_CPU_S3C6410
+               .name           = "iis",
+               .id             = -1,  /* There's only one IISv4 port */
+               .parent         = &clk_p,
+               .enable         = s3c64xx_pclk_ctrl,
+               .ctrlbit        = S3C6410_CLKCON_PCLK_IIS2,
+       }, {
+#endif
                .name           = "spi",
                .id             = 0,
                .parent         = &clk_p,