[PATCH 1/3] ARM: i.MX: avic: Use irqchip_init() for IRQ initialization in DT case

Shawn Guo shawn.guo at freescale.com
Sun Jun 1 23:19:49 PDT 2014


On Mon, Jun 02, 2014 at 08:24:34AM +0400, Alexander Shiyan wrote:
> Mon, 2 Jun 2014 10:21:21 +0800 от Shawn Guo <shawn.guo at freescale.com>:
> > On Sat, May 31, 2014 at 10:01:30AM +0400, Alexander Shiyan wrote:
> > > 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...
> 
> > > 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



More information about the linux-arm-kernel mailing list