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

Alexander Shiyan shc_work at mail.ru
Sun Jun 1 21:24:34 PDT 2014


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>

---



More information about the linux-arm-kernel mailing list