aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/clock.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-11 20:41:35 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-02-10 18:02:30 -0500
commited8d8aa1e674b5b03fceae56a81cccbcf60ec95e (patch)
tree9fdbdefdb6fb4882ce7f0c57f0dc89c7ff8e4c5f /arch/arm/mach-s3c64xx/clock.c
parent2abf13c9ffdcde537fc54b83f1bcd50cc758beca (diff)
ARM: S3C64XX: Gate some more clocks by default
Gate the AC'97 and CF clocks by default. The drivers will enable them required. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/clock.c')
-rw-r--r--arch/arm/mach-s3c64xx/clock.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
index 31bb27dc4aeb..b58274f80cf9 100644
--- a/arch/arm/mach-s3c64xx/clock.c
+++ b/arch/arm/mach-s3c64xx/clock.c
@@ -202,6 +202,15 @@ static struct clk init_clocks_off[] = {
202 .enable = s3c64xx_sclk_ctrl, 202 .enable = s3c64xx_sclk_ctrl,
203 .ctrlbit = S3C_CLKCON_SCLK_MMC2_48, 203 .ctrlbit = S3C_CLKCON_SCLK_MMC2_48,
204 }, { 204 }, {
205 .name = "ac97",
206 .parent = &clk_p,
207 .ctrlbit = S3C_CLKCON_PCLK_AC97,
208 }, {
209 .name = "cfcon",
210 .parent = &clk_h,
211 .enable = s3c64xx_hclk_ctrl,
212 .ctrlbit = S3C_CLKCON_HCLK_IHOST,
213 }, {
205 .name = "dma0", 214 .name = "dma0",
206 .parent = &clk_h, 215 .parent = &clk_h,
207 .enable = s3c64xx_hclk_ctrl, 216 .enable = s3c64xx_hclk_ctrl,
@@ -284,16 +293,7 @@ static struct clk init_clocks[] = {
284 .name = "watchdog", 293 .name = "watchdog",
285 .parent = &clk_p, 294 .parent = &clk_p,
286 .ctrlbit = S3C_CLKCON_PCLK_WDT, 295 .ctrlbit = S3C_CLKCON_PCLK_WDT,
287 }, { 296 },
288 .name = "ac97",
289 .parent = &clk_p,
290 .ctrlbit = S3C_CLKCON_PCLK_AC97,
291 }, {
292 .name = "cfcon",
293 .parent = &clk_h,
294 .enable = s3c64xx_hclk_ctrl,
295 .ctrlbit = S3C_CLKCON_HCLK_IHOST,
296 }
297}; 297};
298 298
299static struct clk clk_hsmmc0 = { 299static struct clk clk_hsmmc0 = {