[PATCH v2 0/2] add broadcom spi driver

Rayagonda Kokatanur rayagonda.kokatanur at broadcom.com
Sun May 17 09:24:10 CEST 2020


This patchset,
-adds Broadcom SPI driver for iproc-based platforms and
-extends Micron SPI commands for dual and quad SPI transfers on Micon SPI.

Changes from v1:
 -Address review comments from Jagan Teki,
  Remove flash opcode from driver and use include/linux/mtd/spi-nor.h,
  Remove CONFIG_BCM_IPROC_USE_BSPI, handle via driver data

 -Address self review comments,
  Remove REG_WR, REG_RD, REG_SET, REG_CLR and use writel, readl,
  setbits_le32 and clrbits_le32 respectively,
  Rename priv data struct variables mspi_hw. bspi_hw, bspi_hw_raf to
  mspi, bspi, baspi_raf respectively,
  Remove struct bcmspi_platdata.

Rayagonda Kokatanur (2):
  driver: spi: add brcm iproc qspi support.
  drivers: spi: add commands for micron SPI

 drivers/spi/Kconfig      |   6 +
 drivers/spi/Makefile     |   1 +
 drivers/spi/iproc_qspi.c | 808 +++++++++++++++++++++++++++++++++++++++
 drivers/spi/iproc_qspi.h |  18 +
 drivers/spi/iproc_spi.c  |  71 ++++
 include/spi.h            |   2 +
 6 files changed, 906 insertions(+)
 create mode 100644 drivers/spi/iproc_qspi.c
 create mode 100644 drivers/spi/iproc_qspi.h
 create mode 100644 drivers/spi/iproc_spi.c

-- 
2.17.1



More information about the U-Boot mailing list