Re: OMAP: DSS2: Common IRQ handler for all OMAPs

archit taneja
2011-02-15T08:03:00Z

Hi,

On Tuesday 15 February 2011 01:15 PM, Valkeinen, Tomi wrote:
<snip>

> I'm not familiar with genirq/irq_chip. But yes, as Archit said, we can
> mask/unmask DSS interrupts. I mean, there's only one interrupt line, but
> DSS has irqstatus and irqenable registers that can be used.
>
> If I understood correctly, irq_chip could be used to manage DSS and DSI
> interrupts, but I don't know right away what that would mean in
> practice, and would it make things easier or not. But this could be
> something that needs more study, as there's a custom isr handling system
> in DSS, and it would be nice if that could be replaced with genirq.
>
> But I guess the main problem still remains with genirqs also: we have
> one interrupt line on omap3, used by two separate modules. And one irq
> on omap2, used by one module, and two irqs on omap4, used by two
> modules.
>
> Tomi

We actually have 4 interrupt lines on OMAP4, 1 for dispc, 2 for dsi1 and
dsi2 and 1 for hdmi.

Regards,
Archit