[PATCH v2 1/3] ARM: clps711x: Add CLPS711X irqchip driver
Arnd Bergmann
arnd at arndb.de
Thu Jan 9 07:26:41 EST 2014
On Thursday 09 January 2014 16:20:35 Alexander Shiyan wrote:
> So, irq_domain_add_simple() do not work for me.
> Current driver uses 1:1 mapping between hwirq and virq. Since DT is not
> supported by all CLPS711X drivers, I am initialize some devices in
> init_machine call, so these devices uses 0-based IRQs (i.e. old scheme).
> Using irq_domain_add_simple() means all our IRQs will be dynamic and its
> numbers starts from NR_IRQS, so usage irq_domain_add_simple() at this stage
> is not possible. Once all boards will be ported to DT, I'll review this
> code, but cannot do it now.
Ok, makes sense. I didn't know you were mixing static devices
with DT-probed ones. Your driver looks good then.
Arnd
More information about the linux-arm-kernel
mailing list