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

From: Mark Brown
Date: Wed Jan 28 2015 - 22:44:58 EST


On Tue, Jan 27, 2015 at 04:33:28PM +0530, Bhuvanchandra DV wrote:

> TCFQ is interrupt of Transfer Complete Flag in DSPI module.
> EOQ is interrupt of End of Queue Flag in DSPI module.
> For adopting of different platform, either of them is a way of DSPI
> transfer data. This patch add TCF support for DSPI module in other platform.

I can't really understand what the purpose of this is, sorry. What are
these modes and why would one choose one over the other? Your changelog
suggests this is being done per board which implies that it's tuning for
performance but that's usually something that should be done in device
drivers, not the device tree - perhaps the tuning will change over time
as the driver is optimized or perhaps it varies depending on the
transfer.

The code mentions a DMA option as well, generally where it's available
DMA is something that's chosen at runtime based on the length of the
transfer.

Attachment: signature.asc
Description: Digital signature