All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun
@ 2018-09-25 20:36 Hieu Tran Dang
  2018-09-25 20:37 ` [PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling Hieu Tran Dang
  2018-09-25 20:37 ` [PATCH 2/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun Hieu Tran Dang
  0 siblings, 2 replies; 7+ messages in thread
From: Hieu Tran Dang @ 2018-09-25 20:36 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Mark Rutland, Gao Pan
  Cc: Hieu Tran Dang, linux-spi, devicetree, linux-kernel

Certain devices don't work well when a transmit FIFO underrun or
receive FIFO overrun occurs. Example is the SAF400x radio chip when
running at high speed which leads to garbage being sent to/received from
the chip. In which case, it should stall waiting for further data to be
available before proceeding. This patch add option to configure the SPI
controller to allow stalling (unset NOSTALL bit in CFGR1).

Hieu Tran Dang (2):
  dt-bindings: spi: fsl-lpspi: Option to allow stalling
  spi: fsl-lpspi: Option to prevent FIFO under/overrun

 .../devicetree/bindings/spi/spi-fsl-lpspi.txt          |  2 ++
 drivers/spi/spi-fsl-lpspi.c                            | 10 +++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

-- 
2.17.1


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

end of thread, other threads:[~2018-10-01  1:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 20:36 [PATCH 0/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun Hieu Tran Dang
2018-09-25 20:37 ` [PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling Hieu Tran Dang
2018-09-26 14:26   ` Rob Herring
2018-09-26 14:37     ` Đặng Trần Hiếu
2018-09-27 22:47       ` Mark Brown
2018-10-01  1:12         ` Hieu Tran Dang
2018-09-25 20:37 ` [PATCH 2/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun Hieu Tran Dang

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.