All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fixes for SPI-NAND issues on LS1088A
@ 2021-01-18 23:52 Mathew McBride
  2021-01-18 23:52 ` [PATCH 1/3] mem: spi-mem: define spi_mem_default_supports_op Mathew McBride
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Mathew McBride @ 2021-01-18 23:52 UTC (permalink / raw)
  To: u-boot

This patchset resolves issues seen when using SPI-NAND
with the LS1088A's qspi controller.

The main issue seen is data corruption when reading SPI-NAND,
due to a controller quirk not being applied. Using the same
settings as the LS2088A (the bigger brother of LS1088A) solves
this issue.

In the course of debugging the above issue, it was found
that the fsl_qspi driver was not correctly reporting the operation
width (single/dual/quad) configured for the device in DTS.
(e.g I configured my device for single-lane reads only
but quad operations were being issued)

A fix for this issue is already present in Linux and can be
adapted for U-Boot, providing a missing export for
spi_mem_default_supports_op is added.

Mathew McBride (3):
  mem: spi-mem: define spi_mem_default_supports_op
  spi: fsl_qspi: Ensure width is respected in spi-mem operations
  spi: fsl_qspi: apply the same settings for LS1088 as LS208x

 drivers/spi/fsl_qspi.c | 12 ++----------
 include/spi-mem.h      | 10 ++++++++++
 2 files changed, 12 insertions(+), 10 deletions(-)

-- 
2.30.0

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

end of thread, other threads:[~2021-01-25  8:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-18 23:52 [PATCH 0/3] Fixes for SPI-NAND issues on LS1088A Mathew McBride
2021-01-18 23:52 ` [PATCH 1/3] mem: spi-mem: define spi_mem_default_supports_op Mathew McBride
2021-01-19 12:06   ` Pratyush Yadav
2021-01-25  4:00     ` Mathew McBride
2021-01-18 23:52 ` [PATCH 2/3] spi: fsl_qspi: Ensure width is respected in spi-mem operations Mathew McBride
2021-01-18 23:52 ` [PATCH 3/3] spi: fsl_qspi: apply the same settings for LS1088 as LS208x Mathew McBride
2021-01-25  3:55 ` [PATCH v2 0/3] Fixes for SPI-NAND issues on LS1088A Mathew McBride
2021-01-25  3:55 ` [PATCH v2 1/3] mem: spi-mem: add declaration for spi_mem_default_supports_op Mathew McBride
2021-01-25  8:50   ` Pratyush Yadav
2021-01-25  3:55 ` [PATCH v2 2/3] spi: fsl_qspi: Ensure width is respected in spi-mem operations Mathew McBride
2021-01-25  3:55 ` [PATCH v2 3/3] spi: fsl_qspi: apply the same settings for LS1088 as LS208x Mathew McBride

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.