From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rayagonda Kokatanur Date: Sun, 17 May 2020 12:54:10 +0530 Subject: [PATCH v2 0/2] add broadcom spi driver Message-ID: <20200517072412.19416-1-rayagonda.kokatanur@broadcom.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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