diff options
author | Sangbeom Kim <sbkim73@samsung.com> | 2011-07-21 14:12:19 +0900 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-07-21 14:12:19 +0900 |
commit | 2839cc1e7e1f260afc5cf9fb6be5b6c3e9d85fea (patch) | |
tree | 9e740ff447a93f2d2f73bd45c05e9ff8af139d76 /arch/arm/plat-samsung/dev-asocdma.c | |
parent | b93cb91bd34ad9f9eaba78aeb84bb556f6150d0e (diff) |
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/plat-samsung/dev-asocdma.c')
-rw-r--r-- | arch/arm/plat-samsung/dev-asocdma.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/dev-asocdma.c b/arch/arm/plat-samsung/dev-asocdma.c index a068c4f42d5..97e35d3c064 100644 --- a/arch/arm/plat-samsung/dev-asocdma.c +++ b/arch/arm/plat-samsung/dev-asocdma.c @@ -23,3 +23,13 @@ struct platform_device samsung_asoc_dma = { } }; EXPORT_SYMBOL(samsung_asoc_dma); + +struct platform_device samsung_asoc_idma = { + .name = "samsung-idma", + .id = -1, + .dev = { + .dma_mask = &audio_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + } +}; +EXPORT_SYMBOL(samsung_asoc_idma); |