Messages in this thread | | | From | David Brownell <> | Subject | Re: [PATCH/RFC] SPI: async message handing library update | Date | Thu, 22 Dec 2005 15:55:16 -0800 |
| |
> BTW: the message handling is one per-transfer basis for bitbang. But in > this case it's not possible to imlement chained DMA transfers (2 > channels, one for Rx, one for Tx, basically that's your sample use case :)
This library code is intended to help folk get some functional and correct drivers quickly ... with "chained DMA" support being explicitly a non-goal.
If you want a top performing driver, you'd go about it differently ... you would handle all the transfers directly, and not use library code like this. Every SOC seems to have its own preferred way to do DMA chaining, so likely the driver would just implement the three spi_master methods directly and map most spi_message objects into single SOC-specific DMA chains.
- Dave
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |