> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]