10 #include <mach/hardware.h>
13 #define imx_ipu_core_entry_single(soc) \
15 .iobase = soc ## _IPU_CTRL_BASE_ADDR, \
16 .synirq = soc ## _INT_IPU_SYN, \
17 .errirq = soc ## _INT_IPU_ERR, \
20 #ifdef CONFIG_SOC_IMX31
25 #ifdef CONFIG_SOC_IMX35
39 .end = data->
iobase + 0x5f,
42 .start = data->
iobase + 0x88,
43 .end = data->
iobase + 0xb3,
56 return imx_ipu_coredev = imx_add_platform_device(
"ipu-core", -1,
67 .end = data->
iobase + 0x87,
74 if (IS_ERR_OR_NULL(imx_ipu_coredev))
82 if (!pdev->
dev.dma_mask)
102 copied_pdata = dev_get_platdata(&pdev->
dev);
103 copied_pdata->
dma_dev = &imx_ipu_coredev->dev;
116 .end = data->
iobase + 0x1bf,
121 if (IS_ERR_OR_NULL(imx_ipu_coredev))
124 pdata->
dma_dev = &imx_ipu_coredev->dev;
126 return imx_add_platform_device_dmamask(
"mx3_sdc_fb", -1,