From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawn.guo@freescale.com (Shawn Guo) Date: Mon, 2 Jun 2014 14:19:49 +0800 Subject: [PATCH 1/3] ARM: i.MX: avic: Use irqchip_init() for IRQ initialization in DT case In-Reply-To: <1401683074.224894202@f141.i.mail.ru> References: <1401516095-31020-1-git-send-email-shc_work@mail.ru> <20140602022120.GL8860@dragon> <1401683074.224894202@f141.i.mail.ru> Message-ID: <20140602061948.GO8860@dragon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Jun 02, 2014 at 08:24:34AM +0400, Alexander Shiyan wrote: > Mon, 2 Jun 2014 10:21:21 +0800 ?? Shawn Guo : > > 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? > > The on my tree doesn't have it yet. So I cannot apply it for now anyway. Shawn