[PATCH linux-next v2 0/1] improve imx spi performance

From: jiada_wang
Date: Mon May 01 2017 - 06:32:23 EST

From: Jiada Wang <jiada_wang@xxxxxxxxxx>

previously burst length (BURST_LENGTH) is always set to equal
to bits_per_word, causes a 10us gap between each word in transfer,
which significantly affects performance.

This patch set uses 32 bits tranfser to simulate lowers bits transfer,
and by set burst length to maximum possible value to reduce number of gaps
in PIO transfers.

Jiada Wang (1):
spi: imx: dynamic burst length adjust for PIO mode

Changes from v2:
used cpu_to_* functions, to ensure this patch works for both
little & big endian kernel.
other minor fix.

drivers/spi/spi-imx.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 149 insertions(+), 8 deletions(-)