From: Daniel Mack Date: Sun, 22 Jul 2012 17:50:22 +0000 (+0200) Subject: ARM: pxa: add devicetree code for irq handling X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~61^2~23^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=089d03629b04ebe8163905a2398742b426e35085;p=pandora-kernel.git ARM: pxa: add devicetree code for irq handling Properly register on-chip interrupt using the irqdomain logic. The number of interrupts is taken from the devicetree node. That includes the following changes: - cpu_has_ipr() was converted from an inline function to a static bool variable, so it can be set using the "marvell,intc-priority" property inside the device node of the tree. - IRQ_BASE was converted from a macro to a runtime variable so that it can be initialized dynamically from the DT init code. - irq_base() now uses pxa_irq_base and just adds an offset. Hence, there are now no compile-time fixed values used in case of DT initialization. Signed-off-by: Daniel Mack Acked-by: Arnd Bergmann Signed-off-by: Haojian Zhuang --- Reading git-diff-tree failed