On Tuesday, July 12, 2016 3:04:42 PM CEST Wan Zongshun wrote: > > > > Ideally, this should just go away once we use SPARSE_IRQ. > > This platform also can use SPARSE_IRQ? this just a simple irq map and no > more irq number in this Soc. > SPARSE_IRQ is implied by ARCH_MULTIPLATFORM, so we will have to use it once that gets enabled. Your new irqchip driver already handles IRQ domains, so it will work out of the box with SPARSE_IRQ, but you have to change the reference to "NR_IRQS" into something else. I've prototyped a patch series to enable ARCH_MULTIPLATFORM, I hope you can start working from what I have and get it to run. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html