[PATCH 3/8] ARM: imx5: adopt generic_chip irq_domain support for tzic

Shawn Guo shawn.guo at linaro.org
Mon Feb 13 10:34:46 EST 2012


Sorry, one typo below.

On Mon, Feb 13, 2012 at 07:19:55AM -0800, Shawn Guo wrote:
...
> Supposing we are doing what you suggest to do here, before we call
> irq_setup_generic_chip_domain for imx gpio driver (gpio-mxc.c) to set
> up legacy domain for DT users, we need to have an irq_base for the gpio

s/DT/non-DT

> interrupt controller.  Since we are cleaning those static irq number,
> we have to call irq_alloc_desc to get the irq_base and pass it to
> irq_setup_generic_chip_domain.  However, this should not be done for
> DT/linear users.  So you will need to fork the code patch for DT and
> non-DT case.  It will be much simpler with using linear for both DT
> and non-DT because passing a -1 as the irq_base just works for both
> cases.

-- 
Regards,
Shawn



More information about the linux-arm-kernel mailing list