All of lore.kernel.org
 help / color / mirror / Atom feed
From: Graham Moore <grmoore@opensource.altera.com>
To: Vikas MANOCHA <vikas.manocha@st.com>
Cc: Marek Vasut <marex@denx.de>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Alan Tull <atull@opensource.altera.com>,
	Brian Norris <computersforpeace@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Dinh Nguyen <dinguyen@opensource.altera.com>,
	"Yves Vandervennet" <yvanderv@opensource.altera.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH V7 1/2] mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver.
Date: Tue, 18 Aug 2015 14:03:57 -0500	[thread overview]
Message-ID: <55D3819D.1040009@opensource.altera.com> (raw)
In-Reply-To: <0B80CAC4-70B3-4557-8D6E-4CA84AF9CEA2@st.com>

Hi all,

On 08/18/2015 12:48 AM, Vikas MANOCHA wrote:

[...]

>>>> +Required properties:
>>>> +- compatible : Should be "cdns,qspi-nor".
>>>> +- reg : Contains two entries, each of which is a tuple consisting of a
>>>> +    physical address and length.  The first entry is the address and
>>>> +    length of the controller register set.  The second entry is the
>>>> +    address and length of the QSPI Controller data area.
>>>
>>> "Controller data area", i think it means mapped NOR Flash address ?
>>
>> Probably ; Graham ?
>>
>>> If yes, it would be more clear with "Physical base address & size of NOR
>>> Flash".
>>
>> This is the Direct mode thing, correct ? We don't support this, so I think
>> we should drop this bit altogether and keep only one single address in this
>> field.
>
> No it's not.
>

It's the location of the SRAM fifo.  Also direct mode location I think, 
if that were ever used.

The size is determined by a configuration parameter during system 
design.  On Altera Cyclone5 the size is really big compared to SRAM 
fifo.  I don't know why, maybe some hw engineer thought it would be 
better to have a large size in case direct mode was used.

BR,
Graham

WARNING: multiple messages have this Message-ID (diff)
From: Graham Moore <grmoore@opensource.altera.com>
To: Vikas MANOCHA <vikas.manocha@st.com>
Cc: Marek Vasut <marex@denx.de>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Alan Tull <atull@opensource.altera.com>,
	Yves Vandervennet <yvanderv@opensource.altera.com>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Dinh Nguyen <dinguyen@opensource.altera.com>,
	Brian Norris <computersforpeace@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH V7 1/2] mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver.
Date: Tue, 18 Aug 2015 14:03:57 -0500	[thread overview]
Message-ID: <55D3819D.1040009@opensource.altera.com> (raw)
In-Reply-To: <0B80CAC4-70B3-4557-8D6E-4CA84AF9CEA2@st.com>

Hi all,

On 08/18/2015 12:48 AM, Vikas MANOCHA wrote:

[...]

>>>> +Required properties:
>>>> +- compatible : Should be "cdns,qspi-nor".
>>>> +- reg : Contains two entries, each of which is a tuple consisting of a
>>>> +    physical address and length.  The first entry is the address and
>>>> +    length of the controller register set.  The second entry is the
>>>> +    address and length of the QSPI Controller data area.
>>>
>>> "Controller data area", i think it means mapped NOR Flash address ?
>>
>> Probably ; Graham ?
>>
>>> If yes, it would be more clear with "Physical base address & size of NOR
>>> Flash".
>>
>> This is the Direct mode thing, correct ? We don't support this, so I think
>> we should drop this bit altogether and keep only one single address in this
>> field.
>
> No it's not.
>

It's the location of the SRAM fifo.  Also direct mode location I think, 
if that were ever used.

The size is determined by a configuration parameter during system 
design.  On Altera Cyclone5 the size is really big compared to SRAM 
fifo.  I don't know why, maybe some hw engineer thought it would be 
better to have a large size in case direct mode was used.

BR,
Graham

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

  reply	other threads:[~2015-08-18 19:08 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-14  3:28 [PATCH V7 1/2] mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver Marek Vasut
2015-08-14  3:28 ` Marek Vasut
2015-08-14  3:28 ` [PATCH V7 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller Marek Vasut
2015-08-14  3:28   ` Marek Vasut
2015-08-14  3:32   ` Marek Vasut
2015-08-14  3:32     ` Marek Vasut
2015-08-18  2:47     ` Brian Norris
2015-08-18  2:47       ` Brian Norris
2015-08-21  5:32       ` Marek Vasut
2015-08-21  5:32         ` Marek Vasut
2015-08-18  2:34   ` vikas
2015-08-18  2:34     ` vikas
2015-08-18 19:17     ` Graham Moore
2015-08-18 19:17       ` Graham Moore
2015-08-18 20:35       ` vikas
2015-08-18 20:35         ` vikas
2015-08-21  4:04     ` Marek Vasut
2015-08-21  4:04       ` Marek Vasut
2015-08-21  7:09       ` Vikas MANOCHA
2015-08-21  7:09         ` Vikas MANOCHA
2015-08-18  2:35 ` [PATCH V7 1/2] mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver vikas
2015-08-18  2:35   ` vikas
2015-08-18  4:47   ` Marek Vasut
2015-08-18  4:47     ` Marek Vasut
2015-08-18  5:48     ` Vikas MANOCHA
2015-08-18  5:48       ` Vikas MANOCHA
2015-08-18 19:03       ` Graham Moore [this message]
2015-08-18 19:03         ` Graham Moore
2015-08-18 20:18         ` vikas
2015-08-18 20:18           ` vikas
2015-08-20  4:03           ` Marek Vasut
2015-08-20  4:03             ` Marek Vasut
2015-08-20 16:06             ` vikas
2015-08-20 16:06               ` vikas
2015-08-21  3:46               ` Marek Vasut
2015-08-21  3:46                 ` Marek Vasut
2015-08-21  7:00                 ` Vikas MANOCHA
2015-08-21  7:00                   ` Vikas MANOCHA

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=55D3819D.1040009@opensource.altera.com \
    --to=grmoore@opensource.altera.com \
    --cc=atull@opensource.altera.com \
    --cc=computersforpeace@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@opensource.altera.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marex@denx.de \
    --cc=vikas.manocha@st.com \
    --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 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.