spi: bcm2835: driver for "auxiliar" spi1/spi2

Mark Brown broonie at kernel.org
Tue Jul 7 06:51:13 PDT 2015

On Thu, Jun 25, 2015 at 07:42:19PM +0200, Jakub Kiciński wrote:
> On Thu, 18 Jun 2015 11:58:48 +0100, Mark Brown wrote:

> > Linux supports shared interrupts perfectly fine, though it sounds like
> > this is actually a cascaded interrupt (the demux is another interrupt
> > controller) which we also support just fine.

> Mark, could you give us a hint how to best go about this shared IRQ?
> I failed to find any generic interrupt controller.  I imagine there


> should be some fake irqchip we can instantiate from DT giving it a
> irq line and a memory address and it should provide us with 32(bit)
> demuxed irqs based on status of bits in specified memory location.
> Does this sound reasonable?  Does such fake irqchip driver exist?

IIRC there's some basic MMIO interrupt controller but I don't know off
the top of my head where, if not it shouldn't be too hard to implement.
It does sound sensible.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20150707/fa45591c/attachment.sig>

More information about the linux-rpi-kernel mailing list