All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sanjay Tandel <sanjay.tandel@rockwellcollins.com>
To: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"boris.brezillon@free-electrons.com"
	<boris.brezillon@free-electrons.com>,
	"arnd@arndb.de" <arnd@arndb.de>, Scott Wood <oss@buserror.net>
Subject: Re: [PATCH v2] mtd: map: new driver for NXP IFC
Date: Wed, 30 Aug 2017 13:48:20 -0500	[thread overview]
Message-ID: <CAB0kKmzppQu7i8gqp_Q-5NYoPLoEbBJy2Bgdawv7Ek6OgWav2w@mail.gmail.com> (raw)
In-Reply-To: <HE1PR04MB124123999DA6E9CEE905F890979C0@HE1PR04MB1241.eurprd04.prod.outlook.com>

Hi Prabhakar,

On Tue, Aug 29, 2017 at 7:37 PM, Prabhakar Kushwaha
<prabhakar.kushwaha@nxp.com> wrote:
> Dear Matt,
>
>> -----Original Message-----
>> From: linux-mtd [mailto:linux-mtd-bounces@lists.infradead.org] On Behalf Of
>> Matt Weber
>> Sent: Wednesday, August 30, 2017 1:17 AM
>> To: linux-mtd@lists.infradead.org
>> Cc: Matt Weber <matthew.weber@rockwellcollins.com>; boris.brezillon@free-
>> electrons.com; Sanjay Tandel <sanjay.tandel@rockwellcollins.com>;
>> arnd@arndb.de
>> Subject: [PATCH v2] mtd: map: new driver for NXP IFC
>>
>> From: Sanjay Tandel <sanjay.tandel@rockwellcollins.com>
>>
>> This patch adds map driver for parallel flash chips interfaced over
>> a NXP Integrated Flash Controller (IFC). This driver allows either
>> 8-bit or 16-bit accesses, depending on bank-width, to parallel flash
>> chips(like Everspin MR0A16A), which are physically mapped to CPU's
>> memory space. For unaligned accesses, it performs read-modify-write
>> operations to keep access size same as bank-width.
>>
>
>
> IFC is configured as per Flash's width per Chip select via boot-loader.

That's right. We are configuring IFC from boot-loader.

>
> Can you please share more details about the driver requirement.
> What is not working with NXP IFC?

8-bit accesses to 16-bit MRAM (through IFC) , using MTD map driver,
seem to corrupt the data.
We need this driver to limit all accesses to be bank-width size,

For more details, please refer the discussion on following thread:
https://patchwork.ozlabs.org/patch/797787/

>
> --prabhakar
>

Regards,
Sanjay

  reply	other threads:[~2017-08-30 18:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 19:47 [PATCH v2] mtd: map: new driver for NXP IFC Matt Weber
2017-08-30  0:37 ` Prabhakar Kushwaha
2017-08-30 18:48   ` Sanjay Tandel [this message]
2017-08-30 19:34 ` Boris Brezillon
2017-08-31  0:03   ` Sanjay Tandel
2017-08-31  6:32     ` Boris Brezillon
2017-08-31 16:24       ` Sanjay Tandel

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=CAB0kKmzppQu7i8gqp_Q-5NYoPLoEbBJy2Bgdawv7Ek6OgWav2w@mail.gmail.com \
    --to=sanjay.tandel@rockwellcollins.com \
    --cc=arnd@arndb.de \
    --cc=boris.brezillon@free-electrons.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=matthew.weber@rockwellcollins.com \
    --cc=oss@buserror.net \
    --cc=prabhakar.kushwaha@nxp.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.