From: Sean MacLennan <smaclennan@pikatech.com>
To: "Josh Boyer" <jwboyer@linux.vnet.ibm.com>
Cc: linuxppc-dev@ozlabs.org,
Sebastian Siewior <bigeasy@linutronix.de>,
linux-mtd@lists.infradead.org, tglx@linutronix.de,
Arnd Bergmann <arnd@arndb.de>
Subject: Re: [RFC] mtd: add OF2PDEV convertor for the NDFC driver
Date: Wed, 20 Aug 2008 23:10:32 -0400 [thread overview]
Message-ID: <20080820231032.5abfa45e@lappy.seanm.ca> (raw)
In-Reply-To: <20080820203719.5224dc78@zod.rchland.ibm.com>
On Wed, 20 Aug 2008 20:37:19 -0400
"Josh Boyer" <jwboyer@linux.vnet.ibm.com> wrote:
> On Thu, 21 Aug 2008 00:40:58 +0200
> Arnd Bergmann <arnd@arndb.de> wrote:
>
> > On Wednesday 20 August 2008, Sebastian Siewior wrote:
> > > I didn't convert the NDFC driver to support OF because there are
> > > non-OF-aware platforms with the ndfc chip.
> > > All settings are mandatory except the oob layout.
> >
> > Are you aware of Sean's patch from
> > http://patchwork.ozlabs.org/linuxppc/patch?id=20183 ?
>
> I need to look at that hard for .28 still.
Please do, I know it works, but I am not sure it is correct.
I haven't had a chance to really look at the new driver from Sebastian,
but it is more complete than mine. It has to be decided if that is a
good thing. I modeled my driver after the existing nand of drivers. They
also limit, even more than mine, what can be configured.
My gut feel is that it is better to let the upper level nand drivers
default correctly based on the chip. For example, on the warp we need to
let the ecc layout default since then it can handle the differences
between 64M and 256M nand chips without a fixup at boot time. (I
believe Sebastian's driver *does* allow this)
I also believe that some fields are now obsolete when going to an of
platform driver. For example, chip select is part of the reg entry.
So my goal was to configure as little as possible and then add as
needed.
Cheers,
Sean
next prev parent reply other threads:[~2008-08-21 3:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 20:59 [RFC] mtd: add OF2PDEV convertor for the NDFC driver Sebastian Siewior
2008-08-20 22:40 ` Arnd Bergmann
2008-08-21 0:37 ` Josh Boyer
2008-08-21 3:10 ` Sean MacLennan [this message]
2008-08-21 8:28 ` Sebastian Siewior
2008-08-21 11:46 ` Arnd Bergmann
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=20080820231032.5abfa45e@lappy.seanm.ca \
--to=smaclennan@pikatech.com \
--cc=arnd@arndb.de \
--cc=bigeasy@linutronix.de \
--cc=jwboyer@linux.vnet.ibm.com \
--cc=linux-mtd@lists.infradead.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=tglx@linutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).