[PATCH 1/3] ARM: i.MX: avic: Use irqchip_init() for IRQ initialization in DT case
From: Shawn Guo <hidden>
Date: 2014-06-02 06:19:49
From: Shawn Guo <hidden>
Date: 2014-06-02 06:19:49
On Mon, Jun 02, 2014 at 08:24:34AM +0400, Alexander Shiyan wrote:
Mon, 2 Jun 2014 10:21:21 +0800 ?? Shawn Guo [off-list ref]:quoted
On Sat, May 31, 2014 at 10:01:30AM +0400, Alexander Shiyan wrote:quoted
Use generic irqchip_init() DT call to initialize IRQs, so after this patch, the mxc-avic driver is quite prepared to move to drivers/irqchip.What's the whole plan of the moving? IOW, what's left after this patch and what's the plan for those?For the full movement of these drivers into drivers/irqchip, we need to find a solution for i.MX specific functions, such as mxc_set_irq_fiq() and tzic_enable_wake(). I haven't found a good solution yet...quoted
quoted
As a temporary solution to do it, we use OF_DECLARE_2()I do not see OF_DECLARE_2() is defined anywhere?<include/linux/of.h>
The <include/linux/of.h> on my tree doesn't have it yet. So I cannot apply it for now anyway. Shawn