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

Martin Sperl kernel at martin.sperl.org
Thu Jun 18 04:37:11 PDT 2015

On 2015-06-18 12:58, Mark Brown wrote:
> On Thu, Jun 18, 2015 at 12:19:04PM +0200, Noralf Trønnes 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.

So we need to move the route of using a cascaded demux interrupt handler
for interrupt separation.

The other thing is: is there a "framework" to handle access to the
the "enable" register shared by all three devices (spi1/spi2/uart1),
or do we have to create a tiny module (aux-bcm2835 or similar) to
serialize access to this register?

For the moment I will start focusing on the implementation itself while
we can figure out the interrupt-controller configuration in DT in

We also should look into upstreaming the configuration of uart1 - even
if only available on the compute board...

More information about the linux-rpi-kernel mailing list