All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux-next v1 0/2] improve imx spi performance
@ 2017-02-08  6:20 ` Jiada Wang
  0 siblings, 0 replies; 10+ messages in thread
From: Jiada Wang @ 2017-02-08  6:20 UTC (permalink / raw)
  To: broonie-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	fixed-term.Oleksij.Rempel-V5te9oGctAVWk0Htik3J/w,
	jiada_wang-nmGgyN9QBj3QT0dZR+AlfA

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 both PIO & DMA transfers.

* This patch set is against linux-next tree

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

 drivers/spi/spi-imx.c | 293 +++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 267 insertions(+), 26 deletions(-)

-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-05-01 10:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-08  6:20 [PATCH linux-next v1 0/2] improve imx spi performance Jiada Wang
2017-02-08  6:20 ` Jiada Wang
2017-02-08  6:20 ` [PATCH 1/2] spi: imx: dynamic burst length adjust for PIO mode Jiada Wang
     [not found]   ` <20170208062028.22313-2-jiada_wang-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2017-02-14 18:20     ` Mark Brown
2017-02-14 18:20       ` Mark Brown
     [not found]       ` <20170214182019.s3o5uphsfz4bxlkq-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2017-05-01 10:15         ` Jiada Wang
2017-05-01 10:15           ` Jiada Wang
2017-02-08  6:20 ` [PATCH 2/2] spi: imx: dynamic burst length adjust for DMA mode Jiada Wang
2017-02-08  8:46   ` kbuild test robot
2017-02-08 10:59   ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.