mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: ar934x: fix transfer size and delays
@ 2021-12-22  5:59 Oskari Lemmela
  2021-12-22  5:59 ` [PATCH 1/2] spi: ar934x: fix transfer size Oskari Lemmela
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Oskari Lemmela @ 2021-12-22  5:59 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-spi, linux-kernel, Oskari Lemmela

Some of slow SPI devices can not handle 32 bits transfers or need
delay between words/transfers.

Series is tested with ATSAMD20J15 slave device which is running @8Mhz.
Limiting bits per word to 16 bits and adding delay between transfers,
gives slave device enough extra time to process reply.

Oskari Lemmela (2):
  spi: ar934x: fix transfer size
  spi: ar934x: fix transfer and word delays

 drivers/spi/spi-ar934x.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-01-04 16:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22  5:59 [PATCH 0/2] spi: ar934x: fix transfer size and delays Oskari Lemmela
2021-12-22  5:59 ` [PATCH 1/2] spi: ar934x: fix transfer size Oskari Lemmela
2021-12-22 12:32   ` Mark Brown
2021-12-22 14:27     ` Oskari Lemmelä
2021-12-22 14:59       ` Mark Brown
2021-12-22 15:55         ` Oskari Lemmelä
2021-12-22  5:59 ` [PATCH 2/2] spi: ar934x: fix transfer and word delays Oskari Lemmela
2021-12-22 14:04 ` (subset) [PATCH 0/2] spi: ar934x: fix transfer size and delays Mark Brown
2022-01-04 16:02 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®