[lkml]   [2014]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/3] irqchip: atmel-aic: Add irq RTC fixups

This patch series introduce the notion of irq fixups for atmel SoCs.

In most at91 SoCs the first interrupt line is shared by several IPs, and
some of these HW blocks might be in an unknown state when booting the
Linux kernel.
Hence these IPs might generate spurious interrupts if they've not masked
their irqs and the shared irq line is requested by another peripheral.

These fixups were previously done in arch/arm/mach-at91/sysirq_mask.c
but as we're trying to use standard implementation (IRQCHIP_DECLARE and
automatic call of irqchip_init within arch/arm/kernel/irq.c) we need to
do those fixups in the irqchip driver.

This series only fix RTC irqs, but other HW blocks (RTT, PMC, ...) will
be added later on.

This series depends on this one [1].

Best Regards,



Boris BREZILLON (3):
irqchip: atmel-aic: Add irq fixup infrastructure
irqchip: atmel-aic: Implement RTC irq fixup
irqchip: atmel-aic: Define irq fixups for atmel SoCs

drivers/irqchip/irq-atmel-aic-common.c | 47 ++++++++++++++++++++++++++++++++++
drivers/irqchip/irq-atmel-aic-common.h | 4 +++
drivers/irqchip/irq-atmel-aic.c | 15 +++++++++++
drivers/irqchip/irq-atmel-aic5.c | 12 +++++++++
4 files changed, 78 insertions(+)


 \ /
  Last update: 2014-07-10 21:01    [W:0.056 / U:10.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site