All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mtd: add altera quadspi driver
Date: Wed, 4 Nov 2015 04:45:43 +0100	[thread overview]
Message-ID: <201511040445.43616.marex@denx.de> (raw)
In-Reply-To: <56396F18.30401@wytron.com.tw>

On Wednesday, November 04, 2015 at 03:36:08 AM, Thomas Chou wrote:
> Hi Marek,

Hi!

> On 2015?11?04? 01:44, Marek Vasut wrote:
> > On Tuesday, November 03, 2015 at 02:22:12 PM, Thomas Chou wrote:
> >> Add Altera Generic Quad SPI Controller support. The controller
> >> converts SPI NOR flash to parallel flash interface. So it is
> >> not like other SPI flash, but rather like CFI flash.
> >> 
> >> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> >> ---
> > 
> > You might want to look at https://lwn.net/Articles/636882/ , it is the
> > driver for the same hardware, but for Linux. But keep in mind that the
> > driver had some difficulties getting in, you might want to check the
> > discussions in linux-mtd .
> 
> I did check and follow the threads for a while since you pointed me
> about it in earlier communication. It is v5 last month. But the author
> decided to wait for hardware fix on rdid.

I think I had a stake there as well ;-)

> Yet I have a different point as I stated in the patch message. It is NOT
> a spi-nor since the hardware converted it to parallel interface. It
> should be treated more like cfi flash. I think it might be a mistake to
> take it as spi-nor. And this might be the hidden cause to prevent the
> linux driver getting in.  So I wrote it my way.

Let me just put an idea here, it might be wrong -- but doesn't this seem
like some sort of NVMEM device? See for example:

https://lkml.org/lkml/2015/5/21/643

Best regards,
Marek Vasut

  reply	other threads:[~2015-11-04  3:45 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 13:22 [U-Boot] [PATCH] mtd: add altera quadspi driver Thomas Chou
2015-11-03 17:44 ` Marek Vasut
2015-11-03 17:49   ` Jagan Teki
2015-11-03 17:52     ` Marek Vasut
2015-11-03 17:56       ` Jagan Teki
2015-11-03 18:11         ` Marek Vasut
2015-11-04  2:36   ` Thomas Chou
2015-11-04  3:45     ` Marek Vasut [this message]
2015-11-04  4:45       ` Thomas Chou
2015-11-04  5:15         ` Marek Vasut
2015-11-04  5:33           ` Thomas Chou
2015-11-04 14:02             ` Marek Vasut
2015-11-04 15:56 ` Chin Liang See
2015-11-04 16:18   ` Marek Vasut
2015-11-05  2:49     ` Chin Liang See
2015-11-05  2:53       ` Marek Vasut
2015-11-05  3:05         ` Chin Liang See
2015-11-05  4:26           ` Thomas Chou
2015-11-05  4:36             ` Marek Vasut
2015-11-05  8:47 ` [U-Boot] [PATCH v2 1/2] nios2: add memcpy_fromio and memcpy_toio Thomas Chou
2015-11-05  8:47   ` [U-Boot] [PATCH v2 2/2] mtd: add altera quadspi driver Thomas Chou
2015-11-05 14:25     ` Jagan Teki
2015-11-05 14:45       ` Thomas Chou
2015-11-05 14:57         ` Jagan Teki
2015-11-05 15:51           ` Marek Vasut
2015-11-06  8:11             ` Jagan Teki
2015-11-06 13:45               ` Marek Vasut
2015-11-06  0:18           ` Thomas Chou
2015-11-06  8:07             ` Jagan Teki
2015-11-06  9:28               ` Thomas Chou
2015-11-06  9:52                 ` Jagan Teki
2015-11-06 11:48                   ` Jagan Teki
2015-11-06 13:32                     ` Thomas Chou
2015-11-07  8:07 ` [U-Boot] [PATCH v3] " Thomas Chou

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=201511040445.43616.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.