Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1714790

Re: [PATCH linux-next v5 1/1] spi: imx: dynamic burst length adjust for PIO mode

From Oleksij Rempel <ore@pengutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH linux-next v5 1/1] spi: imx: dynamic burst length adjust for PIO mode
Date 2017-08-18 12:50 +0200
Message-ID <ufN0K-2qG-7@gated-at.bofh.it> (permalink)
References <ucNJE-Jv-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@mentor.com>

Tested-by: Oleksij Rempel <o.rempel@pengutronix.de>

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH linux-next v5 1/1] spi: imx: dynamic burst length adjust  for PIO mode Oleksij Rempel <ore@pengutronix.de> - 2017-08-18 12:50 +0200

csiph-web