diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/devs.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/devs.c | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c index 452e18438b41..2f91057a0c02 100644 --- a/arch/arm/plat-s3c24xx/devs.c +++ b/arch/arm/plat-s3c24xx/devs.c | |||
@@ -247,7 +247,7 @@ static struct resource s3c_iis_resource[] = { | |||
247 | static u64 s3c_device_iis_dmamask = 0xffffffffUL; | 247 | static u64 s3c_device_iis_dmamask = 0xffffffffUL; |
248 | 248 | ||
249 | struct platform_device s3c_device_iis = { | 249 | struct platform_device s3c_device_iis = { |
250 | .name = "s3c2410-iis", | 250 | .name = "s3c24xx-iis", |
251 | .id = -1, | 251 | .id = -1, |
252 | .num_resources = ARRAY_SIZE(s3c_iis_resource), | 252 | .num_resources = ARRAY_SIZE(s3c_iis_resource), |
253 | .resource = s3c_iis_resource, | 253 | .resource = s3c_iis_resource, |
@@ -259,6 +259,21 @@ struct platform_device s3c_device_iis = { | |||
259 | 259 | ||
260 | EXPORT_SYMBOL(s3c_device_iis); | 260 | EXPORT_SYMBOL(s3c_device_iis); |
261 | 261 | ||
262 | /* ASoC PCM DMA */ | ||
263 | |||
264 | static u64 s3c_device_audio_dmamask = 0xffffffffUL; | ||
265 | |||
266 | struct platform_device s3c_device_pcm = { | ||
267 | .name = "s3c24xx-pcm-audio", | ||
268 | .id = -1, | ||
269 | .dev = { | ||
270 | .dma_mask = &s3c_device_audio_dmamask, | ||
271 | .coherent_dma_mask = 0xffffffffUL | ||
272 | } | ||
273 | }; | ||
274 | |||
275 | EXPORT_SYMBOL(s3c_device_pcm); | ||
276 | |||
262 | /* RTC */ | 277 | /* RTC */ |
263 | 278 | ||
264 | static struct resource s3c_rtc_resource[] = { | 279 | static struct resource s3c_rtc_resource[] = { |
@@ -481,19 +496,30 @@ static struct resource s3c_ac97_resource[] = { | |||
481 | }, | 496 | }, |
482 | }; | 497 | }; |
483 | 498 | ||
484 | static u64 s3c_device_ac97_dmamask = 0xffffffffUL; | ||
485 | |||
486 | struct platform_device s3c_device_ac97 = { | 499 | struct platform_device s3c_device_ac97 = { |
487 | .name = "s3c-ac97", | 500 | .name = "s3c-ac97", |
488 | .id = -1, | 501 | .id = -1, |
489 | .num_resources = ARRAY_SIZE(s3c_ac97_resource), | 502 | .num_resources = ARRAY_SIZE(s3c_ac97_resource), |
490 | .resource = s3c_ac97_resource, | 503 | .resource = s3c_ac97_resource, |
491 | .dev = { | 504 | .dev = { |
492 | .dma_mask = &s3c_device_ac97_dmamask, | 505 | .dma_mask = &s3c_device_audio_dmamask, |
493 | .coherent_dma_mask = 0xffffffffUL | 506 | .coherent_dma_mask = 0xffffffffUL |
494 | } | 507 | } |
495 | }; | 508 | }; |
496 | 509 | ||
497 | EXPORT_SYMBOL(s3c_device_ac97); | 510 | EXPORT_SYMBOL(s3c_device_ac97); |
498 | 511 | ||
512 | /* ASoC I2S */ | ||
513 | |||
514 | struct platform_device s3c2412_device_iis = { | ||
515 | .name = "s3c2412-iis", | ||
516 | .id = -1, | ||
517 | .dev = { | ||
518 | .dma_mask = &s3c_device_audio_dmamask, | ||
519 | .coherent_dma_mask = 0xffffffffUL | ||
520 | } | ||
521 | }; | ||
522 | |||
523 | EXPORT_SYMBOL(s3c2412_device_iis); | ||
524 | |||
499 | #endif // CONFIG_CPU_S32440 | 525 | #endif // CONFIG_CPU_S32440 |