mbox series

[U-Boot,v5,0/5] Add spi-mem driver for MediaTek MT7629 SoC

Message ID 1563762912-10457-1-git-send-email-weijie.gao@mediatek.com
Headers show
Series Add spi-mem driver for MediaTek MT7629 SoC | expand

Message

Weijie Gao (高惟杰) July 22, 2019, 2:35 a.m. UTC
Since u-boot has added the spi-mem framework and replaced the spi-nor framework,
the mtk_qspi is no longer compatible with the new spi-nor driver.

This patch series add a new spi-mem driver to replace the mtk_qspi driver.

- Changes since v4:
Add WATCHDOG_RESET() to the exec_op() of mtk_snfi_spi driver.
Remove the patch that adds WATCHDOG_RESET() to spi-nor driver.

Weijie Gao (5):
  spi: remove obsolete mtk_qspi driver
  spi: add spi-mem driver for MediaTek MT7629 SoC
  arm: dts: change MT7629 to use spi-mem rather than qspi
  configs: mt7629_rfb: change MTK_QSPI to MTK_SNFI_SPI
  MAINTAINERS: change spi driver entry

 MAINTAINERS                  |   2 +-
 arch/arm/dts/mt7629-rfb.dts  |  18 +-
 arch/arm/dts/mt7629.dtsi     |  14 +-
 configs/mt7629_rfb_defconfig |   2 +-
 drivers/spi/Kconfig          |  15 +-
 drivers/spi/Makefile         |   2 +-
 drivers/spi/mtk_qspi.c       | 359 -----------------------------------
 drivers/spi/mtk_snfi_spi.c   | 318 +++++++++++++++++++++++++++++++
 8 files changed, 352 insertions(+), 378 deletions(-)
 delete mode 100644 drivers/spi/mtk_qspi.c
 create mode 100644 drivers/spi/mtk_snfi_spi.c