All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] ti_qspi: Move to spi-mem framework
@ 2019-02-11  9:05 Vignesh R
  2019-02-11  9:05 ` [U-Boot] [PATCH 1/2] spi: ti_qspi: Drop non DM code Vignesh R
  2019-02-11  9:05 ` [U-Boot] [PATCH 2/2] spi: ti_qspi: Convert to spi-mem ops Vignesh R
  0 siblings, 2 replies; 8+ messages in thread
From: Vignesh R @ 2019-02-11  9:05 UTC (permalink / raw)
  To: u-boot

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.

Note: This *breaks cl-som-am57x_defconfig*, as defconfig does not
enable even basic CONFIG_DM and would surely be dropped in next merge
window.

Tested on AM43xx, dra7xx EVMs

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

 drivers/spi/Kconfig            |  12 +-
 drivers/spi/Makefile           |   2 +-
 drivers/spi/ti_qspi.c          | 351 ++++++++++-----------------------
 include/configs/am43xx_evm.h   |   2 -
 include/configs/am57xx_evm.h   |   2 -
 include/configs/cl-som-am57x.h |   1 -
 include/configs/cm_t43.h       |   1 -
 include/configs/dra7xx_evm.h   |   2 -
 scripts/config_whitelist.txt   |   2 -
 9 files changed, 107 insertions(+), 268 deletions(-)

-- 
2.20.1

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

end of thread, other threads:[~2019-04-12 12:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-11  9:05 [U-Boot] [PATCH 0/2] ti_qspi: Move to spi-mem framework Vignesh R
2019-02-11  9:05 ` [U-Boot] [PATCH 1/2] spi: ti_qspi: Drop non DM code Vignesh R
2019-02-11 22:41   ` Tom Rini
2019-04-12 11:49   ` [U-Boot] [U-Boot,1/2] " Tom Rini
2019-04-12 12:21     ` Raghavendra, Vignesh
2019-04-12 12:33       ` Tom Rini
2019-02-11  9:05 ` [U-Boot] [PATCH 2/2] spi: ti_qspi: Convert to spi-mem ops Vignesh R
2019-02-11 22:41   ` Tom Rini

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.