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 parallel... We also should look into upstreaming the configuration of uart1 - even if only available on the compute board... -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html