Rob Herring
d17cab4451
irqchip: Kill off set_irq_flags usage
...
set_irq_flags is ARM specific with custom flags which have genirq
equivalents. Convert drivers to use the genirq interfaces directly, so we
can kill off set_irq_flags. The translation of flags is as follows:
IRQF_VALID -> !IRQ_NOREQUEST
IRQF_PROBE -> !IRQ_NOPROBE
IRQF_NOAUTOEN -> IRQ_NOAUTOEN
For IRQs managed by an irqdomain, the irqdomain core code handles clearing
and setting IRQ_NOREQUEST already, so there is no need to do this in
.map() functions and we can simply remove the set_irq_flags calls. Some
users also modify IRQ_NOPROBE and this has been maintained although it
is not clear that is really needed. There appears to be a great deal of
blind copy and paste of this code.
Signed-off-by: Rob Herring <robh@kernel.org >
Cc: linux-arm-kernel@lists.infradead.org
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Jason Cooper <jason@lakedaemon.net >
Cc: Kukjin Kim <kgene@kernel.org >
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com >
Cc: Stephen Warren <swarren@wwwdotorg.org >
Cc: Lee Jones <lee@kernel.org >
Cc: Alexander Shiyan <shc_work@mail.ru >
Cc: Maxime Ripard <maxime.ripard@free-electrons.com >
Cc: linux-rpi-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Link: http://lkml.kernel.org/r/1440889285-5637-3-git-send-email-robh@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
2015-09-16 16:53:38 +02:00
Joel Porquet
41a83e06e2
irqchip: Prepare for local stub header removal
...
The IRQCHIP_DECLARE macro moved to to 'include/linux/irqchip.h', so
the local irqchip.h became an empty shell, which solely includes
include/linux/irqchip.h
Include the global header in all irqchip drivers instead of the local
header, so we can remove it.
Signed-off-by: Joel Porquet <joel@porquet.org >
Cc: vgupta@synopsys.com
Cc: monstr@monstr.eu
Cc: ralf@linux-mips.org
Cc: jason@lakedaemon.net
Link: http://lkml.kernel.org/r/1882096.X39jVG8e0D@joel-zenbook
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
2015-07-11 23:14:23 +02:00
Marc Zyngier
a8e10cb769
irqchip: clps711x: Convert to handle_domain_irq
...
Use the new handle_domain_irq method to handle interrupts.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com >
Link: https://lkml.kernel.org/r/1409047421-27649-8-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net >
2014-09-03 13:10:32 +00:00
Alexander Shiyan
afc98d9088
ARM: clps711x: Add CLPS711X irqchip driver
...
This adds the irqchip driver for Cirrus Logic CLPS711X series SoCs.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
2014-02-28 17:27:30 +01:00