blob: 73667994518acdab1946029656cd31e98fa71092 [file] [log] [blame]
Ben Dooksa21765a2007-02-11 18:31:01 +01001/* linux/arch/arm/plat-s3c24xx/devs.c
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 *
3 * Copyright (c) 2004 Simtec Electronics
Ben Dooks916a0022006-09-06 19:03:21 +01004 * Ben Dooks <ben@simtec.co.uk>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 *
Ben Dooks916a0022006-09-06 19:03:21 +01006 * Base S3C24XX platform device definitions
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
Linus Torvalds1da177e2005-04-16 15:20:36 -070012*/
13
14#include <linux/kernel.h>
15#include <linux/types.h>
16#include <linux/interrupt.h>
17#include <linux/list.h>
18#include <linux/timer.h>
19#include <linux/init.h>
Ben Dooksb6d1f542006-12-17 23:22:26 +010020#include <linux/serial_core.h>
Russell Kingd052d1b2005-10-29 19:07:23 +010021#include <linux/platform_device.h>
Russell Kingfced80c2008-09-06 12:10:45 +010022#include <linux/io.h>
Tejun Heo5a0e3ad2010-03-24 17:04:11 +090023#include <linux/slab.h>
Arnaud Patardf44c67c2010-04-22 10:47:44 +020024#include <linux/string.h>
Thomas Abraham4a98f592011-05-07 22:26:53 +020025#include <linux/dma-mapping.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27#include <asm/mach/arch.h>
28#include <asm/mach/map.h>
29#include <asm/mach/irq.h>
Russell Kinga09e64f2008-08-05 16:14:15 +010030#include <mach/fb.h>
31#include <mach/hardware.h>
Mark Brownd91e9a72009-08-05 18:29:57 +010032#include <mach/dma.h>
33#include <mach/irqs.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070034#include <asm/irq.h>
35
Ben Dooksa2b7ba92008-10-07 22:26:09 +010036#include <plat/regs-serial.h>
Ben Dooks57bd4b92008-10-30 10:14:37 +000037#include <plat/udc.h>
Ben Dooks22c810a2010-01-18 16:24:22 +090038#include <plat/mci.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070039
Ben Dooksa2b7ba92008-10-07 22:26:09 +010040#include <plat/devs.h>
41#include <plat/cpu.h>
Ben Dooks13622702008-10-30 10:14:38 +000042#include <plat/regs-spi.h>
Maurus Cuelenaere73e59b12010-05-04 13:12:41 +020043#include <plat/ts.h>
Arnaud Patardce8877b2009-12-23 19:25:05 +000044
Linus Torvalds1da177e2005-04-16 15:20:36 -070045/* Serial port registrations */
46
Ben Dooks66a9b492006-06-18 23:04:05 +010047static struct resource s3c2410_uart0_resource[] = {
48 [0] = {
49 .start = S3C2410_PA_UART0,
50 .end = S3C2410_PA_UART0 + 0x3fff,
51 .flags = IORESOURCE_MEM,
52 },
53 [1] = {
54 .start = IRQ_S3CUART_RX0,
55 .end = IRQ_S3CUART_ERR0,
56 .flags = IORESOURCE_IRQ,
57 }
58};
59
60static struct resource s3c2410_uart1_resource[] = {
61 [0] = {
62 .start = S3C2410_PA_UART1,
63 .end = S3C2410_PA_UART1 + 0x3fff,
64 .flags = IORESOURCE_MEM,
65 },
66 [1] = {
67 .start = IRQ_S3CUART_RX1,
68 .end = IRQ_S3CUART_ERR1,
69 .flags = IORESOURCE_IRQ,
70 }
71};
72
73static struct resource s3c2410_uart2_resource[] = {
74 [0] = {
75 .start = S3C2410_PA_UART2,
76 .end = S3C2410_PA_UART2 + 0x3fff,
77 .flags = IORESOURCE_MEM,
78 },
79 [1] = {
80 .start = IRQ_S3CUART_RX2,
81 .end = IRQ_S3CUART_ERR2,
82 .flags = IORESOURCE_IRQ,
83 }
84};
85
Ben Dooksdbf35992008-11-04 15:29:09 +000086static struct resource s3c2410_uart3_resource[] = {
87 [0] = {
88 .start = S3C2443_PA_UART3,
89 .end = S3C2443_PA_UART3 + 0x3fff,
90 .flags = IORESOURCE_MEM,
91 },
92 [1] = {
93 .start = IRQ_S3CUART_RX3,
94 .end = IRQ_S3CUART_ERR3,
95 .flags = IORESOURCE_IRQ,
96 },
97};
98
Ben Dooks66a9b492006-06-18 23:04:05 +010099struct s3c24xx_uart_resources s3c2410_uart_resources[] __initdata = {
100 [0] = {
101 .resources = s3c2410_uart0_resource,
102 .nr_resources = ARRAY_SIZE(s3c2410_uart0_resource),
103 },
104 [1] = {
105 .resources = s3c2410_uart1_resource,
106 .nr_resources = ARRAY_SIZE(s3c2410_uart1_resource),
107 },
108 [2] = {
109 .resources = s3c2410_uart2_resource,
110 .nr_resources = ARRAY_SIZE(s3c2410_uart2_resource),
111 },
Ben Dooksdbf35992008-11-04 15:29:09 +0000112 [3] = {
113 .resources = s3c2410_uart3_resource,
114 .nr_resources = ARRAY_SIZE(s3c2410_uart3_resource),
115 },
Ben Dooks66a9b492006-06-18 23:04:05 +0100116};
117
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118/* LCD Controller */
119
120static struct resource s3c_lcd_resource[] = {
121 [0] = {
Lucas Correia Villa Real0367a8d2006-01-26 15:20:50 +0000122 .start = S3C24XX_PA_LCD,
123 .end = S3C24XX_PA_LCD + S3C24XX_SZ_LCD - 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124 .flags = IORESOURCE_MEM,
125 },
126 [1] = {
127 .start = IRQ_LCD,
128 .end = IRQ_LCD,
129 .flags = IORESOURCE_IRQ,
130 }
131
132};
133
134static u64 s3c_device_lcd_dmamask = 0xffffffffUL;
135
136struct platform_device s3c_device_lcd = {
137 .name = "s3c2410-lcd",
138 .id = -1,
139 .num_resources = ARRAY_SIZE(s3c_lcd_resource),
140 .resource = s3c_lcd_resource,
141 .dev = {
Ben Dooks6904b242005-06-29 11:09:15 +0100142 .dma_mask = &s3c_device_lcd_dmamask,
143 .coherent_dma_mask = 0xffffffffUL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 }
145};
146
147EXPORT_SYMBOL(s3c_device_lcd);
148
Ben Dooks893b0302005-10-28 15:31:45 +0100149void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd)
Arnaud Patardf92273c2005-09-09 13:10:10 -0700150{
Ben Dooks893b0302005-10-28 15:31:45 +0100151 struct s3c2410fb_mach_info *npd;
152
Arnaud Patardf44c67c2010-04-22 10:47:44 +0200153 npd = kmemdup(pd, sizeof(*npd), GFP_KERNEL);
Ben Dooks893b0302005-10-28 15:31:45 +0100154 if (npd) {
Ben Dooks893b0302005-10-28 15:31:45 +0100155 s3c_device_lcd.dev.platform_data = npd;
Arnaud Patardf44c67c2010-04-22 10:47:44 +0200156 npd->displays = kmemdup(pd->displays,
157 sizeof(struct s3c2410fb_display) * npd->num_displays,
158 GFP_KERNEL);
159 if (!npd->displays)
160 printk(KERN_ERR "no memory for LCD display data\n");
Ben Dooks893b0302005-10-28 15:31:45 +0100161 } else {
162 printk(KERN_ERR "no memory for LCD platform data\n");
163 }
Arnaud Patardf92273c2005-09-09 13:10:10 -0700164}
Arnaud Patardf92273c2005-09-09 13:10:10 -0700165
Arnaud Patardce8877b2009-12-23 19:25:05 +0000166/* Touchscreen */
Vasily Khoruzhick0fe13092010-02-18 18:32:27 +0200167
168static struct resource s3c_ts_resource[] = {
169 [0] = {
170 .start = S3C24XX_PA_ADC,
171 .end = S3C24XX_PA_ADC + S3C24XX_SZ_ADC - 1,
172 .flags = IORESOURCE_MEM,
173 },
174 [1] = {
175 .start = IRQ_TC,
176 .end = IRQ_TC,
177 .flags = IORESOURCE_IRQ,
178 },
179
180};
181
Arnaud Patardce8877b2009-12-23 19:25:05 +0000182struct platform_device s3c_device_ts = {
183 .name = "s3c2410-ts",
184 .id = -1,
Vasily Khoruzhick0fe13092010-02-18 18:32:27 +0200185 .dev.parent = &s3c_device_adc.dev,
186 .num_resources = ARRAY_SIZE(s3c_ts_resource),
187 .resource = s3c_ts_resource,
Arnaud Patardce8877b2009-12-23 19:25:05 +0000188};
189EXPORT_SYMBOL(s3c_device_ts);
190
191static struct s3c2410_ts_mach_info s3c2410ts_info;
192
193void __init s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *hard_s3c2410ts_info)
194{
195 memcpy(&s3c2410ts_info, hard_s3c2410ts_info, sizeof(struct s3c2410_ts_mach_info));
196 s3c_device_ts.dev.platform_data = &s3c2410ts_info;
197}
Arnaud Patardce8877b2009-12-23 19:25:05 +0000198
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199/* USB Device (Gadget)*/
200
201static struct resource s3c_usbgadget_resource[] = {
202 [0] = {
Lucas Correia Villa Real0367a8d2006-01-26 15:20:50 +0000203 .start = S3C24XX_PA_USBDEV,
204 .end = S3C24XX_PA_USBDEV + S3C24XX_SZ_USBDEV - 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 .flags = IORESOURCE_MEM,
206 },
207 [1] = {
208 .start = IRQ_USBD,
209 .end = IRQ_USBD,
210 .flags = IORESOURCE_IRQ,
211 }
212
213};
214
215struct platform_device s3c_device_usbgadget = {
216 .name = "s3c2410-usbgadget",
217 .id = -1,
218 .num_resources = ARRAY_SIZE(s3c_usbgadget_resource),
219 .resource = s3c_usbgadget_resource,
220};
221
222EXPORT_SYMBOL(s3c_device_usbgadget);
223
Arnaud Patard0dcfc322007-02-13 00:18:33 +0100224void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *pd)
225{
226 struct s3c2410_udc_mach_info *npd;
227
228 npd = kmalloc(sizeof(*npd), GFP_KERNEL);
229 if (npd) {
230 memcpy(npd, pd, sizeof(*npd));
231 s3c_device_usbgadget.dev.platform_data = npd;
232 } else {
233 printk(KERN_ERR "no memory for udc platform data\n");
234 }
235}
236
Thomas Abraham4a98f592011-05-07 22:26:53 +0200237/* USB High Speed 2.0 Device (Gadget) */
238static struct resource s3c_hsudc_resource[] = {
239 [0] = {
240 .start = S3C2416_PA_HSUDC,
241 .end = S3C2416_PA_HSUDC + S3C2416_SZ_HSUDC - 1,
242 .flags = IORESOURCE_MEM,
243 },
244 [1] = {
245 .start = IRQ_USBD,
246 .end = IRQ_USBD,
247 .flags = IORESOURCE_IRQ,
248 }
249};
250
251static u64 s3c_hsudc_dmamask = DMA_BIT_MASK(32);
252
253struct platform_device s3c_device_usb_hsudc = {
254 .name = "s3c-hsudc",
255 .id = -1,
256 .num_resources = ARRAY_SIZE(s3c_hsudc_resource),
257 .resource = s3c_hsudc_resource,
258 .dev = {
259 .dma_mask = &s3c_hsudc_dmamask,
260 .coherent_dma_mask = DMA_BIT_MASK(32),
261 },
262};
263
264void __init s3c24xx_hsudc_set_platdata(struct s3c24xx_hsudc_platdata *pd)
265{
266 struct s3c24xx_hsudc_platdata *npd;
267
268 npd = kmalloc(sizeof(*npd), GFP_KERNEL);
269 if (npd) {
270 memcpy(npd, pd, sizeof(*npd));
271 s3c_device_usb_hsudc.dev.platform_data = npd;
272 } else {
273 printk(KERN_ERR "no memory for udc platform data\n");
274 }
275}
276
Linus Torvalds1da177e2005-04-16 15:20:36 -0700277/* IIS */
278
279static struct resource s3c_iis_resource[] = {
280 [0] = {
Lucas Correia Villa Real0367a8d2006-01-26 15:20:50 +0000281 .start = S3C24XX_PA_IIS,
282 .end = S3C24XX_PA_IIS + S3C24XX_SZ_IIS -1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283 .flags = IORESOURCE_MEM,
284 }
285};
286
287static u64 s3c_device_iis_dmamask = 0xffffffffUL;
288
289struct platform_device s3c_device_iis = {
Vasily Khoruzhickada69e32010-08-30 11:28:09 +0300290 .name = "s3c24xx-iis",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291 .id = -1,
292 .num_resources = ARRAY_SIZE(s3c_iis_resource),
293 .resource = s3c_iis_resource,
294 .dev = {
295 .dma_mask = &s3c_device_iis_dmamask,
296 .coherent_dma_mask = 0xffffffffUL
297 }
298};
299
300EXPORT_SYMBOL(s3c_device_iis);
301
302/* RTC */
303
304static struct resource s3c_rtc_resource[] = {
305 [0] = {
Lucas Correia Villa Real0367a8d2006-01-26 15:20:50 +0000306 .start = S3C24XX_PA_RTC,
307 .end = S3C24XX_PA_RTC + 0xff,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700308 .flags = IORESOURCE_MEM,
309 },
310 [1] = {
311 .start = IRQ_RTC,
312 .end = IRQ_RTC,
313 .flags = IORESOURCE_IRQ,
314 },
315 [2] = {
316 .start = IRQ_TICK,
317 .end = IRQ_TICK,
318 .flags = IORESOURCE_IRQ
319 }
320};
321
322struct platform_device s3c_device_rtc = {
323 .name = "s3c2410-rtc",
324 .id = -1,
325 .num_resources = ARRAY_SIZE(s3c_rtc_resource),
326 .resource = s3c_rtc_resource,
327};
328
329EXPORT_SYMBOL(s3c_device_rtc);
330
331/* ADC */
332
333static struct resource s3c_adc_resource[] = {
334 [0] = {
Lucas Correia Villa Real0367a8d2006-01-26 15:20:50 +0000335 .start = S3C24XX_PA_ADC,
336 .end = S3C24XX_PA_ADC + S3C24XX_SZ_ADC - 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700337 .flags = IORESOURCE_MEM,
338 },
339 [1] = {
340 .start = IRQ_TC,
Ben Dooks083d06e2006-02-08 22:03:31 +0000341 .end = IRQ_TC,
342 .flags = IORESOURCE_IRQ,
343 },
344 [2] = {
345 .start = IRQ_ADC,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346 .end = IRQ_ADC,
347 .flags = IORESOURCE_IRQ,
348 }
349
350};
351
352struct platform_device s3c_device_adc = {
Ben Dooks28ab44c5b2008-12-18 14:20:04 +0000353 .name = "s3c24xx-adc",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354 .id = -1,
355 .num_resources = ARRAY_SIZE(s3c_adc_resource),
356 .resource = s3c_adc_resource,
357};
358
359/* SDI */
360
361static struct resource s3c_sdi_resource[] = {
362 [0] = {
Ben Dooksce46a9c2008-10-21 14:06:26 +0100363 .start = S3C24XX_PA_SDI,
364 .end = S3C24XX_PA_SDI + S3C24XX_SZ_SDI - 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700365 .flags = IORESOURCE_MEM,
366 },
367 [1] = {
368 .start = IRQ_SDI,
369 .end = IRQ_SDI,
370 .flags = IORESOURCE_IRQ,
371 }
372
373};
374
375struct platform_device s3c_device_sdi = {
376 .name = "s3c2410-sdi",
377 .id = -1,
378 .num_resources = ARRAY_SIZE(s3c_sdi_resource),
379 .resource = s3c_sdi_resource,
380};
381
382EXPORT_SYMBOL(s3c_device_sdi);
383
Arnaud Patard1f138f12010-04-22 10:47:45 +0200384void __init s3c24xx_mci_set_platdata(struct s3c24xx_mci_pdata *pdata)
Ben Dooks22c810a2010-01-18 16:24:22 +0900385{
386 struct s3c24xx_mci_pdata *npd;
387
388 npd = kmemdup(pdata, sizeof(struct s3c24xx_mci_pdata), GFP_KERNEL);
389 if (!npd)
390 printk(KERN_ERR "%s: no memory to copy pdata", __func__);
391
392 s3c_device_sdi.dev.platform_data = npd;
393}
394
395
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396/* SPI (0) */
397
398static struct resource s3c_spi0_resource[] = {
399 [0] = {
Lucas Correia Villa Real0367a8d2006-01-26 15:20:50 +0000400 .start = S3C24XX_PA_SPI,
401 .end = S3C24XX_PA_SPI + 0x1f,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402 .flags = IORESOURCE_MEM,
403 },
404 [1] = {
405 .start = IRQ_SPI0,
406 .end = IRQ_SPI0,
407 .flags = IORESOURCE_IRQ,
408 }
409
410};
411
Albrecht Dreß66be0c32006-03-15 16:03:05 +0000412static u64 s3c_device_spi0_dmamask = 0xffffffffUL;
413
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414struct platform_device s3c_device_spi0 = {
415 .name = "s3c2410-spi",
416 .id = 0,
417 .num_resources = ARRAY_SIZE(s3c_spi0_resource),
418 .resource = s3c_spi0_resource,
Albrecht Dreß66be0c32006-03-15 16:03:05 +0000419 .dev = {
420 .dma_mask = &s3c_device_spi0_dmamask,
421 .coherent_dma_mask = 0xffffffffUL
422 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700423};
424
425EXPORT_SYMBOL(s3c_device_spi0);
426
427/* SPI (1) */
428
429static struct resource s3c_spi1_resource[] = {
430 [0] = {
Sandeep Sanjay Patile9033822007-05-16 10:51:45 +0100431 .start = S3C24XX_PA_SPI + S3C2410_SPI1,
432 .end = S3C24XX_PA_SPI + S3C2410_SPI1 + 0x1f,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700433 .flags = IORESOURCE_MEM,
434 },
435 [1] = {
436 .start = IRQ_SPI1,
437 .end = IRQ_SPI1,
438 .flags = IORESOURCE_IRQ,
439 }
440
441};
442
Albrecht Dreß66be0c32006-03-15 16:03:05 +0000443static u64 s3c_device_spi1_dmamask = 0xffffffffUL;
444
Linus Torvalds1da177e2005-04-16 15:20:36 -0700445struct platform_device s3c_device_spi1 = {
446 .name = "s3c2410-spi",
447 .id = 1,
448 .num_resources = ARRAY_SIZE(s3c_spi1_resource),
449 .resource = s3c_spi1_resource,
Albrecht Dreß66be0c32006-03-15 16:03:05 +0000450 .dev = {
451 .dma_mask = &s3c_device_spi1_dmamask,
452 .coherent_dma_mask = 0xffffffffUL
453 }
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454};
455
456EXPORT_SYMBOL(s3c_device_spi1);
457
Linus Torvalds1da177e2005-04-16 15:20:36 -0700458#ifdef CONFIG_CPU_S3C2440
459
460/* Camif Controller */
461
462static struct resource s3c_camif_resource[] = {
463 [0] = {
464 .start = S3C2440_PA_CAMIF,
Ben Dooksa0e0adb2005-10-28 15:26:42 +0100465 .end = S3C2440_PA_CAMIF + S3C2440_SZ_CAMIF - 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700466 .flags = IORESOURCE_MEM,
467 },
468 [1] = {
469 .start = IRQ_CAM,
470 .end = IRQ_CAM,
471 .flags = IORESOURCE_IRQ,
472 }
473
474};
475
476static u64 s3c_device_camif_dmamask = 0xffffffffUL;
477
478struct platform_device s3c_device_camif = {
479 .name = "s3c2440-camif",
480 .id = -1,
481 .num_resources = ARRAY_SIZE(s3c_camif_resource),
482 .resource = s3c_camif_resource,
483 .dev = {
484 .dma_mask = &s3c_device_camif_dmamask,
485 .coherent_dma_mask = 0xffffffffUL
486 }
487};
488
489EXPORT_SYMBOL(s3c_device_camif);
490
Mark Brownd91e9a72009-08-05 18:29:57 +0100491/* AC97 */
492
493static struct resource s3c_ac97_resource[] = {
494 [0] = {
495 .start = S3C2440_PA_AC97,
496 .end = S3C2440_PA_AC97 + S3C2440_SZ_AC97 -1,
497 .flags = IORESOURCE_MEM,
498 },
499 [1] = {
500 .start = IRQ_S3C244x_AC97,
501 .end = IRQ_S3C244x_AC97,
502 .flags = IORESOURCE_IRQ,
503 },
504 [2] = {
505 .name = "PCM out",
506 .start = DMACH_PCM_OUT,
507 .end = DMACH_PCM_OUT,
508 .flags = IORESOURCE_DMA,
509 },
510 [3] = {
511 .name = "PCM in",
512 .start = DMACH_PCM_IN,
513 .end = DMACH_PCM_IN,
514 .flags = IORESOURCE_DMA,
515 },
516 [4] = {
517 .name = "Mic in",
518 .start = DMACH_MIC_IN,
519 .end = DMACH_MIC_IN,
520 .flags = IORESOURCE_DMA,
521 },
522};
523
Jassi Brar83e37b82010-11-22 15:35:53 +0900524static u64 s3c_device_audio_dmamask = 0xffffffffUL;
525
Mark Brownd91e9a72009-08-05 18:29:57 +0100526struct platform_device s3c_device_ac97 = {
Jassi Brare6104672010-11-22 15:36:00 +0900527 .name = "samsung-ac97",
Mark Brownd91e9a72009-08-05 18:29:57 +0100528 .id = -1,
529 .num_resources = ARRAY_SIZE(s3c_ac97_resource),
530 .resource = s3c_ac97_resource,
531 .dev = {
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000532 .dma_mask = &s3c_device_audio_dmamask,
Mark Brownd91e9a72009-08-05 18:29:57 +0100533 .coherent_dma_mask = 0xffffffffUL
534 }
535};
536
537EXPORT_SYMBOL(s3c_device_ac97);
538
Liam Girdwoodf0fba2a2010-03-17 20:15:21 +0000539/* ASoC I2S */
540
541struct platform_device s3c2412_device_iis = {
542 .name = "s3c2412-iis",
543 .id = -1,
544 .dev = {
545 .dma_mask = &s3c_device_audio_dmamask,
546 .coherent_dma_mask = 0xffffffffUL
547 }
548};
549
550EXPORT_SYMBOL(s3c2412_device_iis);
551
Linus Torvalds1da177e2005-04-16 15:20:36 -0700552#endif // CONFIG_CPU_S32440