mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Graham Moore <grmoore@opensource.altera.com>
To: <linux-mtd@lists.infradead.org>
Cc: David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	<linux-kernel@vger.kernel.org>,
	Alan Tull <atull@opensource.altera.com>,
	Dinh Nguyen <dinguyen@opensource.altera.com>,
	Yves Vandervennet <yvanderv@opensource.altera.com>,
	Graham Moore <grmoore@opensource.altera.com>
Subject: [RFC 0/2] mtd: spi-nor: Cadence QSPI Flash Controller driver
Date: Fri, 24 Oct 2014 13:34:19 -0500	[thread overview]
Message-ID: <1414175661-9249-1-git-send-email-grmoore@opensource.altera.com> (raw)

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

-- 
1.7.9.5


             reply	other threads:[~2014-10-24 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 18:34 Graham Moore [this message]
2014-10-24 18:34 ` [RFC 1/2] This is the documentation of the device tree bindings for the " Graham Moore
2014-10-24 18:34 ` [RFC 2/2] This is a kernel driver for the Cadence QSPI Flash Controller. It uses the spi-nor framework Graham Moore
2014-11-23  2:07   ` Ezequiel Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1414175661-9249-1-git-send-email-grmoore@opensource.altera.com \
    --to=grmoore@opensource.altera.com \
    --cc=atull@opensource.altera.com \
    --cc=computersforpeace@gmail.com \
    --cc=dinguyen@opensource.altera.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=yvanderv@opensource.altera.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome