Skip to content

spi: cadence-xspi: Fixes and ACPI changes

Paul Cercueil linux-spi lkml stable 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 0 repliesNew
  2. v47 patches 0 repliesSuperseded
  3. v36 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches1 replySuperseded
v15 patches9 repliesSuperseded

Changes in v5 from the cover letter

- [1/7]:
- Reset hardware FIFO on error

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7spi: cadence-xspi: Properly handle errors in .transfer_one_messagedrivers/spi/spi-cadence-xspi.c+13 -70 replies
2/7spi: cadence-xspi: Reconfigure to STIG mode before SPI messagedrivers/spi/spi-cadence-xspi.c+24 -70 replies
3/7spi: cadence-xspi: Inform SPI core about size transferreddrivers/spi/spi-cadence-xspi.c+1 -00 replies
4/7spi: cadence-xspi: Clear "SDMA ready" IRQ flag after pollingdrivers/spi/spi-cadence-xspi.c+14 -60 replies
5/7spi: cadence-xspi: Drop useless cdns_xspi->cur_csdrivers/spi/spi-cadence-xspi.c+5 -110 replies
6/7spi: cadence-xspi: Rework resource discoverydrivers/spi/spi-cadence-xspi.c+27 -290 replies
7/7spi: cadence-xspi: Add workaround for old Marvell firmwaresdrivers/spi/spi-cadence-xspi.c+40 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/7] spi: cadence-xspi: Fixes and ACPI changes

Hi Mark,

This is the v4 of my patchset that adds a few fixes to the cadence-xspi driver, some cleanups, as well as a workaround for probing the Marvell IP on firmwares that use the base string.

If that last one is a deal breaker then it can be skipped. Jisheng Zhang queried the DT maintainers about a clarification on whether or not bugs in out-of-tree DTs should be cared for, but they haven't responded yet.

The v5 is a minimal update from v4, only the first patch is different. The error path of .transfer_one_message() will now disable the hardware FIFO.

Changelog in v5:

- [1/7]:
- Reset hardware FIFO on error

Cheers,
-Paul

Tanmay Jagdale (7):
spi: cadence-xspi: Properly handle errors in .transfer_one_message
spi: cadence-xspi: Reconfigure to STIG mode before SPI message
spi: cadence-xspi: Inform SPI core about size transferred
spi: cadence-xspi: Clear "SDMA ready" IRQ flag after polling
spi: cadence-xspi: Drop useless cdns_xspi->cur_cs
spi: cadence-xspi: Rework resource discovery
spi: cadence-xspi: Add workaround for old Marvell firmwares

 drivers/spi/spi-cadence-xspi.c | 183 ++++++++++++++++++++++-----------
 1 file changed, 123 insertions(+), 60 deletions(-)
Signature · 1 line
2.47.3