Re: [PATCH 1/3] misc: Add crossbar driver

From: Linus Walleij
Date: Thu Aug 15 2013 - 16:01:32 EST


On Tue, Aug 13, 2013 at 11:56 AM, Sricharan R <r.sricharan@xxxxxx> wrote:

> Initially irqchip was discussed, but we also have a DMA crossbar
> to map the dma-requests. Since both irq/dma crossbars should be handled,
> pinctrl was suggested as the appropriate place to handle this.

I think it is better to use irqchip.

For DMA there is already an arbiter mechanism for arbitration of
virtual channels over physical channels, this is not much different,
the DMA might need some different tweaking but should be solved
in that subsystem I think.

I don't see any way to really abstract this pretty simple crossbar
for reuse across subsystems.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/