summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos4/dev-audio.c
diff options
context:
space:
mode:
authorSangbeom Kim <sbkim73@samsung.com>2011-07-21 07:12:19 +0200
committerKukjin Kim <kgene.kim@samsung.com>2011-07-21 07:12:19 +0200
commit2839cc1e7e1f260afc5cf9fb6be5b6c3e9d85fea (patch)
tree9e740ff447a93f2d2f73bd45c05e9ff8af139d76 /arch/arm/mach-exynos4/dev-audio.c
parentARM: EXYNOS4: Add more registers to be saved and restored for PM (diff)
downloadlinux-2839cc1e7e1f260afc5cf9fb6be5b6c3e9d85fea.tar.xz
linux-2839cc1e7e1f260afc5cf9fb6be5b6c3e9d85fea.zip
ARM: SAMSUNG: Add platform device for idma
Exynos4 and S5PC110(S5PV210) has Internal dma(idma) in AUDSS. To support idma, register idma platform device. and Exynos4 and S5PC110 has different IDMA address. TO handle different IDMA address, register idma platform data Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4/dev-audio.c')
-rw-r--r--arch/arm/mach-exynos4/dev-audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/dev-audio.c b/arch/arm/mach-exynos4/dev-audio.c
index 983069a53239..5a9f9c2e53bf 100644
--- a/arch/arm/mach-exynos4/dev-audio.c
+++ b/arch/arm/mach-exynos4/dev-audio.c
@@ -21,6 +21,7 @@
#include <mach/map.h>
#include <mach/dma.h>
#include <mach/irqs.h>
+#include <mach/regs-audss.h>
static const char *rclksrc[] = {
[0] = "busclk",
@@ -55,6 +56,7 @@ static struct s3c_audio_pdata i2sv5_pdata = {
.quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI
| QUIRK_NEED_RSTCLR,
.src_clk = rclksrc,
+ .idma_addr = EXYNOS4_AUDSS_INT_MEM,
},
},
};