linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller
@ 2019-01-15 12:00 Yogesh Narayan Gaur
  2019-01-15 12:00 ` [PATCH v8 1/5] " Yogesh Narayan Gaur
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Yogesh Narayan Gaur @ 2019-01-15 12:00 UTC (permalink / raw)
  To: linux-mtd, bbrezillon, marek.vasut, broonie, linux-spi, devicetree
  Cc: mark.rutland, robh, Yogesh Narayan Gaur, linux-kernel,
	frieder.schrempf, computersforpeace, shawnguo, linux-arm-kernel

- Add driver for NXP FlexSPI host controller

 FlexSPI is a flexsible SPI host controller [1], Chapter 30 page 1475,
 which supports two SPI channels and up to 4 external devices.
 Each channel supports Single/Dual/Quad/Octal mode data transfer (1/2/4/8 bidirectional data lines)
 i.e. FlexSPI acts as an interface to external devices, maximum 4, each with up to 8
 bidirectional data lines.

- Tested this driver with mtd_debug(Erase/Write/Read) utility and JFFS2
 filesystem mounting and booting on NXP LX2160ARDB[2] and LX2160AQDS targets.
 LX2160ARDB is having two NOR slave device connected on single bus A
 i.e. A0 and A1 (CS0 and CS1).
 LX2160AQDS is having two NOR slave device connected on separate buses
 one flash on A0 and second on B1 i.e. (CS0 and CS3).
 Verified this driver on following SPI NOR flashes:
   Micron, mt35xu512aba, [Read - 1 bit mode]
   Cypress, s25fl512s, [Read - 1/2/4 bit mode]

[1] https://www.nxp.com/docs/en/reference-manual/IMXRT1050RM.pdf
[2] https://patchwork.kernel.org/project/linux-arm-kernel/list/?submitter=182097

Yogesh Narayan Gaur (5):
  spi: spi-mem: Add driver for NXP FlexSPI controller
  dt-bindings: spi: add binding file for NXP FlexSPI controller
  arm64: dts: lx2160a: add FlexSPI node property
  arm64: defconfig: enable NXP FlexSPI driver
  MAINTAINERS: add maintainers for the NXP FlexSPI driver

Changes for v8:
- Incorporated review comments for
  patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'
- Update MAINTAINERS file
Changes for v7:
- Rebase on top of SPI tree
  https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git/
  branch: for-next
- Incorporated review comments for
  patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'.
Changes for v6:
- Rebase on top of v5.0-rc1.
- Incorporated review comments for
  patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'.
- Updated s-b tag in all patches.
Changes for v5:
- Rebase on top of v4.20-rc2
- Incorporated review comments for
  patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'.
Changes for v4:
- Incorporated review comments for
  patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'.
- Incorporated binding file review comments.
Changes for v3:
- Incorporated review comments for
  patch 'spi: spi-mem: Add driver for NXP FlexSPI controller'.
Changes for v2:
- Incorporated Boris review comments and drop below patches as per the comments.
 - Patch 'spi: add slave device size in spi_device struct'
 - Patch 'spi: add flags for octal I/O data transfer'
- Incorporated DTS and Binding file review comments of Shawn Guo and Rob Herring.

 .../devicetree/bindings/spi/spi-nxp-fspi.txt  |   39 +
 MAINTAINERS                                   |    8 +
 .../boot/dts/freescale/fsl-lx2160a-rdb.dts    |   22 +
 .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi |   13 +
 arch/arm64/configs/defconfig                  |    1 +
 drivers/spi/Kconfig                           |   10 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/spi-nxp-fspi.c                    | 1105 +++++++++++++++++
 8 files changed, 1199 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-nxp-fspi.txt
 create mode 100644 drivers/spi/spi-nxp-fspi.c

-- 
2.17.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2019-02-01  5:05 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 12:00 [PATCH v8 0/5] spi: spi-mem: Add driver for NXP FlexSPI controller Yogesh Narayan Gaur
2019-01-15 12:00 ` [PATCH v8 1/5] " Yogesh Narayan Gaur
2019-01-22  8:54   ` Yogesh Narayan Gaur
2019-01-24 18:35     ` Mark Brown
2019-01-25  7:17   ` Ashish Kumar
2019-01-28 12:36   ` Applied "spi: spi-mem: Add driver for NXP FlexSPI controller" to the spi tree Mark Brown
2019-01-15 12:00 ` [PATCH v8 2/5] dt-bindings: spi: add binding file for NXP FlexSPI controller Yogesh Narayan Gaur
2019-01-22  9:00   ` Yogesh Narayan Gaur
2019-01-22  9:16     ` Boris Brezillon
2019-01-22  9:19       ` Yogesh Narayan Gaur
2019-01-15 12:00 ` [PATCH v8 3/5] arm64: dts: lx2160a: add FlexSPI node property Yogesh Narayan Gaur
2019-02-01  2:54   ` Shawn Guo
2019-02-01  5:05     ` Yogesh Narayan Gaur
2019-01-15 12:00 ` [PATCH v8 4/5] arm64: defconfig: enable NXP FlexSPI driver Yogesh Narayan Gaur
2019-02-01  2:56   ` Shawn Guo
2019-01-15 12:00 ` [PATCH v8 5/5] MAINTAINERS: add maintainers for the " Yogesh Narayan Gaur
2019-01-28 12:36   ` Applied "MAINTAINERS: add maintainers for the NXP FlexSPI driver" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).