1 /* linux/arch/arm/plat-s5p/dev-fimc3.c
3 * Copyright (c) 2010 Samsung Electronics
5 * Base S5P FIMC3 resource and device definitions
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #include <linux/kernel.h>
13 #include <linux/dma-mapping.h>
14 #include <linux/platform_device.h>
15 #include <linux/interrupt.h>
16 #include <linux/ioport.h>
19 static struct resource s5p_fimc3_resource
[] = {
21 .start
= S5P_PA_FIMC3
,
22 .end
= S5P_PA_FIMC3
+ SZ_4K
- 1,
23 .flags
= IORESOURCE_MEM
,
28 .flags
= IORESOURCE_IRQ
,
32 static u64 s5p_fimc3_dma_mask
= DMA_BIT_MASK(32);
34 struct platform_device s5p_device_fimc3
= {
37 .num_resources
= ARRAY_SIZE(s5p_fimc3_resource
),
38 .resource
= s5p_fimc3_resource
,
40 .dma_mask
= &s5p_fimc3_dma_mask
,
41 .coherent_dma_mask
= DMA_BIT_MASK(32),