Thread (77 messages) 77 messages, 11 authors, 2012-07-06
STALE5126d REVIEWED: 1 (0M)

[PATCH 06/16] ARM: imx: move irq_domain_add_legacy call into avic driver

From: Dong Aisheng <hidden>
Date: 2012-06-15 09:30:56

On Thu, Jun 14, 2012 at 03:13:28PM +0800, Shawn Guo wrote:
On Thu, Jun 14, 2012 at 01:59:37PM +0800, Shawn Guo wrote:
quoted
Move irq_domain_add_legacy call from imx27-dt.c into avic init function
and have the avic driver adopt irqdomain support for both DT and non-DT
boot.

Now avic init function calls irq_alloc_descs to get irq_base and adds
a lenacy irqdomain with the irq_base, so that the mapping between avic
irq and Linux irq number can be handled by irqdomain.

Signed-off-by: Shawn Guo <redacted>
---
 arch/arm/mach-imx/imx27-dt.c |   15 ---------------
 arch/arm/plat-mxc/avic.c     |   26 +++++++++++++++++++-------
 2 files changed, 19 insertions(+), 22 deletions(-)
The following changes should be amended.
Acked-by: Dong Aisheng <redacted>

Regards
Dong Aisheng
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help