History log of /drivers/irqchip/irq-s3c24xx.c
Revision Date Author Comments
cf86bfdd68997b584f4a8f1da9ffd2fae852a5a9 26-Aug-2014 Marc Zyngier <marc.zyngier@arm.com> irqchip: s3c24xx: 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-12-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
4f41083b87633c2277aad57c6a68e4250c5e7f1e 12-May-2014 Rob Herring <robh@kernel.org> irqchip: s3c24xx: Fix function type for IRQCHIP_OF_DECLARE

Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
with s3c2410_init_intc_of and s3c2416_init_intc_of. The function only takes
the 1st 2 parameters.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Jason Cooper <jason@lakedaemon.net>
bc8fd900c4d460b4e4bf785bb48bfced0ac9941b 25-Apr-2013 Arnd Bergmann <arnd@arndb.de> irqchip: s3c24xx: add missing __init annotations

The s3c24xx_init_intc and s3c2412_init_irq functions are only called
at init time, and they call functions already marked __init, so they
should be marked in the same way. This was reported as

WARNING: vmlinux.o(.text+0x19e0b4): Section mismatch in reference from the function s3c2412_init_irq() to the function .init.text:s3c24xx_init_intc.constprop.8()
The function s3c2412_init_irq() references
the function __init s3c24xx_init_intc.constprop.8().
This is often because s3c2412_init_irq lacks a __init
annotation or the annotation of s3c24xx_init_intc.constprop.8 is wrong.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Cc: Kukjin Kim <kgene.kim@samsung.com>
f0774d41da0e607b70e54ecc50aeb6684f54c2b1 04-Apr-2013 Heiko Stuebner <heiko@sntech.de> irqchip: s3c24xx: add devicetree support

Add the necessary code to initialize the interrupt controller
thru devicetree data using the irqchip infrastructure.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
f5a25524508e68ac670b28db9112d3962dca4703 04-Apr-2013 Heiko Stuebner <heiko@sntech.de> irqchip: s3c24xx: make interrupt handling independent of irq_domain structure

Keep a pointer to the corresponding s3c_irq_data struct as irq_chip_data.
This removes the need to fetch the intc struct from the irq_domains
host_data, thus making it independent of the underlying irq_domain
structure.

Also keep the real register offset of the interrupt in the s3c_irq_data
struct to make it independent of the hwirq structure in the irq_domain

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
658dc8fb9cbc7712b1518ce79211ffadcabd1c9e 04-Apr-2013 Heiko Stuebner <heiko@sntech.de> irqchip: s3c24xx: globally keep track of the created intc instances

For dt-enabled machines we want to use a big irq_domain over all controllers
and therefore need to access not only the main controllers but the
sub-controller as well.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
bd7c0da2c1590ea292052b873f93d2c1dbbf7d28 04-Apr-2013 Heiko Stuebner <heiko@sntech.de> irqchip: s3c24xx: add irq_set_type callback for basic interrupt types

Enables post-init setting of the desired typehandler for the interrupt.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
1ebc7e83b1cc58edae3f371ac9cf1614e0d3b345 04-Apr-2013 Heiko Stuebner <heiko@sntech.de> irqchip: s3c24xx: fix irqlist of second s3c2416 controller

The list in used was from the s3c2450, a close cousin of the s3c2416.
As it's not possible to distinguish between the s3c2416 and s3c2450
the additional interrupts of the s3c2450 will only be available thru
devicetree later.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
e2714f79edb8ed4f9afd09ca48bf2abaa994b1c1 04-Apr-2013 Heiko Stuebner <heiko@sntech.de> irqchip: s3c24xx: fix comments on some camera interrupts

Might be confusing for people to read the code without having the
datasheet nearby.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
8a407835bef6d47dcef9594d8c85900f994fbedf 04-Apr-2013 Heiko Stuebner <heiko@sntech.de> ARM: S3C24XX: move irq driver to drivers/irqchip

This move is necessary to make use of the irqchip infrastructure
for the following devicetree support for s3c24xx architectures.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>