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

[PATCH 04/16] gpio/mxc: move irq_domain_add_legacy call into gpio driver

From: Dong Aisheng <hidden>
Date: 2012-06-15 09:26:48

On Thu, Jun 14, 2012 at 01:59:35PM +0800, Shawn Guo wrote:
Move irq_domain_add_legacy call from imx*-dt.c into gpio driver and
have the gpio driver adopt irqdomain support for both DT and non-DT
boot.

With all imx platform code converted from static gpio irq number
computation to use run-time gpio_to_irq call, we can now use
irq_alloc_descs and irqdomain support to dynamically get irq_base
and have the mapping between gpio and irq number available without
using virtual_irq_start and MXC_GPIO_IRQ_START.

Signed-off-by: Shawn Guo <redacted>
Cc: Grant Likely <redacted>
Nice move.

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