diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-15 10:51:11 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-15 10:51:11 -0400 |
commit | 26625ddadbe9cd5791c9d64b0425821b036c5188 (patch) | |
tree | 5fbf9b50f99fb3163cd43d85039a1b8b0adf1243 /arch/arm/mach-s3c24xx/clock-s3c2443.c | |
parent | 3d0c872ab4fbef94cf06e53e7a7b06357459e21b (diff) | |
parent | 5ddfa8428b9f21453b1160846143e0b50d51b27c (diff) |
Merge branch 'next/devel-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/soc2
* 'next/devel-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
ARM: EXYNOS: Support Suspend/Resume for EXYNOS4412
ARM: EXYNOS: To use common config for EXYNOS4 and EXYNOS5 SPI
ARM: EXYNOS: Support DMA for EXYNOS5250 SoC
ARM: EXYNOS: Add platform resource definitions for FIMC-LITE
ARM: EXYNOS: add platform device for core DRM subsystem
ARM: EXYNOS: add dts files to dtbs target
spi/s3c64xx: Allow usage for ARCH_S3C24XX
ARM: S3C24XX: Add HSSPI setup callback for s3c64xx-spi driver
ARM: S3C24XX: Add clock-lookup entries required by s3c64xx-spi
ARM: S3C24XX: Add map entries needed by the s3c64xx-spi devices
ARM: S3C24XX: claim spi channels for hsspi in dma-s3c2443
ARM: S3C24XX: Add forgotten clock lookup table to S3C2443
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-s3c24xx/clock-s3c2443.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2443.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/clock-s3c2443.c b/arch/arm/mach-s3c24xx/clock-s3c2443.c index efb3ac359566..a4c5a520d994 100644 --- a/arch/arm/mach-s3c24xx/clock-s3c2443.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2443.c | |||
@@ -179,6 +179,11 @@ static struct clk *clks[] __initdata = { | |||
179 | &clk_hsmmc, | 179 | &clk_hsmmc, |
180 | }; | 180 | }; |
181 | 181 | ||
182 | static struct clk_lookup s3c2443_clk_lookup[] = { | ||
183 | CLKDEV_INIT("s3c-sdhci.1", "mmc_busclk.2", &clk_hsmmc), | ||
184 | CLKDEV_INIT("s3c64xx-spi.0", "spi_busclk2", &clk_hsspi.clk), | ||
185 | }; | ||
186 | |||
182 | void __init s3c2443_init_clocks(int xtal) | 187 | void __init s3c2443_init_clocks(int xtal) |
183 | { | 188 | { |
184 | unsigned long epllcon = __raw_readl(S3C2443_EPLLCON); | 189 | unsigned long epllcon = __raw_readl(S3C2443_EPLLCON); |
@@ -210,6 +215,7 @@ void __init s3c2443_init_clocks(int xtal) | |||
210 | 215 | ||
211 | s3c_register_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); | 216 | s3c_register_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); |
212 | s3c_disable_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); | 217 | s3c_disable_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); |
218 | clkdev_add_table(s3c2443_clk_lookup, ARRAY_SIZE(s3c2443_clk_lookup)); | ||
213 | 219 | ||
214 | s3c_pwmclk_init(); | 220 | s3c_pwmclk_init(); |
215 | } | 221 | } |