Skip to content

ti_qspi: Move to spi-mem framework

Vignesh Raghavendra u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/20 of 2 patches 0 repliesNew
  2. v2 posting 1/22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v2 thread

Cover letter [U-Boot] [RESEND PATCH v2 0/2] ti_qspi: Move to spi-mem framework

Tom, Jagan

Quoted 7 lines · Vignesh Raghavendra

Now that SPI NOR Supports MMIO SPI controllers via spi-mem framework, move TI QSPI to SPI MEM framework for better performance and avoid repeating SPI NOR generic code in the driver.

While at that get rid of non DM code, as all boards are expected to support DM and DT by now.

Quoted 8 lines

Tested on AM43xx, dra7xx EVMs. Build tested for all TI platforms using buildman

v2
* Rebase on top of latest master and Uri's patch [1] removing cl-som-am57x_defconfig
* Remove more un-needed CONFIGs related to TI QSPI that have not been
* Collect Reviewed-bys

I am not sure how this dependency can be handled. But since [1] would go through Tom's TI related pull, one solution would be to take this series also via the same tree with Jagan's Ack/Review to avoid build issues. Does that sound good?

Quoted 17 lines

[1] http://patchwork.ozlabs.org/patch/1085281/

Vignesh Raghavendra (2):
spi: ti_qspi: Drop non DM code
spi: ti_qspi: Convert to spi-mem ops

  drivers/spi/Kconfig          |  13 +-
  drivers/spi/Makefile         |   2 +-
  drivers/spi/ti_qspi.c        | 351 ++++++++++-------------------------
  include/configs/am43xx_evm.h |   6 -
  include/configs/am57xx_evm.h |   5 -
  include/configs/cm_t43.h     |   3 -
  include/configs/dra7xx_evm.h |   5 -
  scripts/config_whitelist.txt |   3 -
  8 files changed, 108 insertions(+), 280 deletions(-)