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

Dong Aisheng aisheng.dong at freescale.com
Fri Jun 15 05:26:48 EDT 2012


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 <shawn.guo at linaro.org>
> Cc: Grant Likely <grant.likely at secretlab.ca>

Nice move.

Acked-by: Dong Aisheng <dong.aisheng at linaro.org>

Regards
Dong Aisheng




More information about the linux-arm-kernel mailing list