[PATCH 07/16] dma: ipu: remove the use of ipu_platform_data
From: Dong Aisheng <hidden>
Date: 2012-06-19 05:51:15
On Mon, Jun 18, 2012 at 10:02:23PM +0800, Shawn Guo wrote:
On Mon, Jun 18, 2012 at 04:19:44PM +0800, Dong Aisheng wrote:
...
quoted
Using private mapping is not recommended. Maybe we can do it together with this patch since irqdomain support does not depend on device tree. What do you think?At this point, I would be conservative on that, since I do not have the setup to test all the IPU irq handling.
I looked into the code a bit more, it seems ipu uses its own special irq mapping between virt irq and hw/dma_chan irq itself and the mapping is dynamically and limited to how many CONFIG_MX3_IPU_IRQS defined. No sure it's so suitable to convert to irqdomain. With adding irqdomain, i wonder we may need change this mechanism a bit. For now, i'm ok to put that work in another patch later and using the original way first since the later patch may need to do more things, so Acked-by: Dong Aisheng <redacted> Regards Dong Aisheng