Skip to content

Commit

Permalink
Merge branch 'next/topic-dma-samsung' into next-samsung-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Kukjin Kim committed Oct 4, 2011
2 parents 7d84b3e + c931220 commit 59ca37f
Show file tree
Hide file tree
Showing 49 changed files with 2,066 additions and 2,302 deletions.
4 changes: 4 additions & 0 deletions arch/arm/include/asm/hardware/pl080.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
* OneNAND features.
*/

#ifndef ASM_PL080_H
#define ASM_PL080_H

#define PL080_INT_STATUS (0x00)
#define PL080_TC_STATUS (0x04)
#define PL080_TC_CLEAR (0x08)
Expand Down Expand Up @@ -138,3 +141,4 @@ struct pl080s_lli {
u32 control1;
};

#endif /* ASM_PL080_H */
2 changes: 1 addition & 1 deletion arch/arm/mach-exynos4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if ARCH_EXYNOS4

config CPU_EXYNOS4210
bool
select S3C_PL330_DMA
select SAMSUNG_DMADEV
help
Enable EXYNOS4210 CPU support

Expand Down
15 changes: 11 additions & 4 deletions arch/arm/mach-exynos4/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ static struct clk clk_sclk_usbphy1 = {
.name = "sclk_usbphy1",
};

static struct clk dummy_apb_pclk = {
.name = "apb_pclk",
.id = -1,
};

static int exynos4_clksrc_mask_top_ctrl(struct clk *clk, int enable)
{
return s5p_gatectrl(S5P_CLKSRC_MASK_TOP, clk, enable);
Expand Down Expand Up @@ -454,13 +459,13 @@ static struct clk init_clocks_off[] = {
.enable = exynos4_clk_ip_fsys_ctrl,
.ctrlbit = (1 << 10),
}, {
.name = "pdma",
.devname = "s3c-pl330.0",
.name = "dma",
.devname = "dma-pl330.0",
.enable = exynos4_clk_ip_fsys_ctrl,
.ctrlbit = (1 << 0),
}, {
.name = "pdma",
.devname = "s3c-pl330.1",
.name = "dma",
.devname = "dma-pl330.1",
.enable = exynos4_clk_ip_fsys_ctrl,
.ctrlbit = (1 << 1),
}, {
Expand Down Expand Up @@ -1208,5 +1213,7 @@ void __init exynos4_register_clocks(void)
s3c_register_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off));
s3c_disable_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off));

s3c24xx_register_clock(&dummy_apb_pclk);

s3c_pwmclk_init();
}
Loading

0 comments on commit 59ca37f

Please sign in to comment.