Re: [PATCH linux-next v5 1/1] spi: imx: dynamic burst length adjust for PIO mode
From: Oleksij Rempel
Date: Fri Aug 18 2017 - 06:45:10 EST
On Thu, Aug 10, 2017 at 01:50:08PM +0900, Jiada Wang wrote:
>
> 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 uses 32 bits transfer to simulate lower bits transfer,
> and adjusts burst length runtimely to use biggeest burst length
> as possible to reduce the gaps in transfer for PIO mode.
>
> Signed-off-by: Jiada Wang <jiada_wang@xxxxxxxxxx>
Tested-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |