aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2010-02-17 19:03:19 +0000
committerBen Dooks <ben-linux@fluff.org>2010-02-24 02:08:15 +0000
commit2e5070bc1152e8afbf76734e8e3fbfbe60a573ef (patch)
tree26cae2a93cf9187b0bb70892bc5b9eaf31a7d304
parentde6985be185167d14a79695f345025c531a685d0 (diff)
downloadmrst-s0i3-test-2e5070bc1152e8afbf76734e8e3fbfbe60a573ef.tar.gz
mrst-s0i3-test-2e5070bc1152e8afbf76734e8e3fbfbe60a573ef.tar.xz
mrst-s0i3-test-2e5070bc1152e8afbf76734e8e3fbfbe60a573ef.zip
ARM: S3C64XX: Declare IISv4 PCLK for S3C6410
[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>
-rw-r--r--arch/arm/mach-s3c64xx/clock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
index 7f5e1aa99ce..2ac2e7d73e5 100644
--- a/arch/arm/mach-s3c64xx/clock.c
+++ b/arch/arm/mach-s3c64xx/clock.c
@@ -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,