Thread (8 messages) 8 messages, 3 authors, 2015-02-07

Re: [PATCH 7/7] spi: spi-fsl-dspi: Add support for TCFQ transfer mode

From: BhuvanChandra.DV <hidden>
Date: 2015-01-29 12:53:57
Also in: linux-arm-kernel, linux-spi

On 01/29/2015 05:43 PM, Mark Brown wrote:
On Thu, Jan 29, 2015 at 11:58:25AM +0000, BhuvanChandra.DV wrote:
quoted
As far as i understood the major difference between the two modes are when
the interrupt to trigger, as EOQ mode will trigger the interrupt at end of
queue and TCF will trigger the interrupt at every frame transfer. Probably
mode selection shouldn't be a device tree property, but i don't see any
automatic way to choose between the modes.
Maybe a config would be more appropriate?
Or if there's either no particular reason to choose one over the other
or one is always better then just pick one in the driver and don't worry
about implementing both.
Among the two, EOQ would be better since with TCF, interrupts are generated at
every frame transfer, which could be a problem at higher frequencies.
I think we can omit this patch then.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help