Skip to content

RFC mtd: spi-nor: Cadence QSPI Flash Controller driver

Graham Moore linux-mtd lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2This is the documentation of the device tree bindings for the Cadence QSPI Flash Controller driver.Documentation/devicetree/bindings/mtd/cadence_quadspi.txt+30 -00 replies
2/2This is a kernel driver for the Cadence QSPI Flash Controller. It uses the spi-nor framework.drivers/mtd/spi-nor/Kconfig drivers/mtd/spi-nor/Makefile drivers/mtd/spi-nor/cadence-quadspi.c+1356 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] mtd: spi-nor: Cadence QSPI Flash Controller driver

Hi all,

Here is a kernel driver for the Cadence QSPI Flash Controller driver which uses the spi-nor framework. I'm putting it out here for comments.

Here at Altera, we use the Cadence QSPI in our SoCFPGA systems. We've had a spi driver for this IP for some time now, but it needed some patches in the spi subsystem. and so was going to be difficult to upstream.

I ported it over to the spi-nor framework which got rid of the ugly patches, and also got rid of a bunch of spi_transfer code.

It's based on the master branch of l2-mtd.git. Tested on Altera's Cyclone5 dev kit.

So here it is, let me know what you all think, please.

Thanks,
Graham Moore

Graham Moore (2):
This is the documentation of the device tree bindings for the
Cadence QSPI Flash Controller driver.
This is a kernel driver for the Cadence QSPI Flash Controller.
It uses the spi-nor framework.

 .../devicetree/bindings/mtd/cadence_quadspi.txt    |   30 +
 drivers/mtd/spi-nor/Kconfig                        |    6 +
 drivers/mtd/spi-nor/Makefile                       |    1 +
 drivers/mtd/spi-nor/cadence-quadspi.c              | 1349 ++++++++++++++++++++
 4 files changed, 1386 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/cadence_quadspi.txt
 create mode 100644 drivers/mtd/spi-nor/cadence-quadspi.c
Signature · 1 line
1.7.9.5