lkml.org 
[lkml]   [2005]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH/RFC] SPI: async message handing library update
Date

> 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/

\
 
 \ /
  Last update: 2005-12-23 01:22    [W:0.074 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site