devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add bcm2835aux interrupt controller
@ 2017-06-07 11:11 Phil Elwell
       [not found] ` <6dc301c8-e5a2-1334-c476-1ce7e303787f-FnsA7b+Nu9XbIbC87yuRow@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Elwell @ 2017-06-07 11:11 UTC (permalink / raw)
  To: Mark Rutland, Rob Herring, Stephen Boyd, Florian Fainelli,
	Eric Anholt, Stefan Wahren, devicetree, linux-clk,
	linux-rpi-kernel, linux-kernel

Devices in the AUX block share a common interrupt line, with a register
indicating which devices have active IRQs. Expose this as a nested
interrupt controller to avoid IRQ sharing problems (easily observed if
UART1 and SPI1/2 are enabled simultaneously).

The interrupt functionality could arguably be forked off as a separate
irqchip driver, but the clock driver has already claimed the AUX_IRQ
register so some driver and DT surgery would still be required.
Eric Anholt thought that including it here is reasonable, but I'm
prepared to split it out if this is considered too hacky.

Phil Elwell (2):
  clk: bcm2835: Add AUX interrupt controller
  ARM: dts: bcm283x: Enable AUX interrupt controller

 arch/arm/boot/dts/bcm283x.dtsi    |  12 +++-
 drivers/clk/bcm/clk-bcm2835-aux.c | 120 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+), 3 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-08 18:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 11:11 [PATCH 0/2] Add bcm2835aux interrupt controller Phil Elwell
     [not found] ` <6dc301c8-e5a2-1334-c476-1ce7e303787f-FnsA7b+Nu9XbIbC87yuRow@public.gmane.org>
2017-06-07 20:37   ` Stefan Wahren
2017-06-07 20:55     ` Phil Elwell
2017-06-07 20:58   ` Florian Fainelli
2017-06-08  9:55     ` Phil Elwell
     [not found]       ` <846fcded-190e-e3f7-c0cd-b7c9281e41e0-FnsA7b+Nu9XbIbC87yuRow@public.gmane.org>
2017-06-08 18:03         ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).