]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commit
ARM: tegra: add support for tegra30 interrupts
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 5 Jan 2012 03:31:45 +0000 (03:31 +0000)
committerOlof Johansson <olof@lixom.net>
Mon, 6 Feb 2012 17:16:14 +0000 (09:16 -0800)
commitcaa4868ee07029e60450909960652b96a50ebfbd
treec23e808d4e10641210039cdf53862cf8e1f1cfe0
parent62aa2b537c6f5957afd98e29f96897419ed5ebab
ARM: tegra: add support for tegra30 interrupts

Tegra30 has 1 extra legacy interrupt controller. Use the GIC ITLinesNumber
field to determine how many interrupt controllers we have and initialize
appropriately. Also make room for the extra tegra30 interrupts by moving
the GPIO IRQ base. This shouldn't affect existing code as it determines the
correct IRQ number for GPIOs using TEGRA_GPIO_TO_IRQ().

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Colin Cross <ccross@android.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/include/mach/iomap.h
arch/arm/mach-tegra/include/mach/irqs.h
arch/arm/mach-tegra/irq.c