From: Brian Norris <computersforpeace@gmail.com>
To: John Crispin <blogic@openwrt.org>
Cc: David Woodhouse <dwmw2@infradead.org>, linux-mtd@lists.infradead.org
Subject: Re: [PATCH 0/6] MTD: lantiq: xway: various nand fixes
Date: Tue, 5 Jan 2016 09:53:33 -0800 [thread overview]
Message-ID: <20160105175333.GA46565@google.com> (raw)
In-Reply-To: <568B71EC.2070309@openwrt.org>
On Tue, Jan 05, 2016 at 08:34:04AM +0100, John Crispin wrote:
> On 05/01/2016 00:30, Brian Norris wrote:
> > Is there a good reason this driver uses plat_nand? That seems like an
> > unnecessary abstraction layer. It'd be clearer to just refactor the
> > driver to be a proper platform driver...
> >
> > Also, I see that there's no DT binding doc.
> >
> > Can these things be cleaned up?
>
> grml, i was kinda hoping this would be a no brainer. the problem is that
> i don't even have the HW so refactoring / big changes are a no go or
> would require me to find users with the HW first.
Well, I could be convinced to take patches that are a little better
documented (i.e., have a little better commit descriptions), if they
fix real issues. If you're going to add device tree properties, though,
you need a DT binding doc. And the refactoring to a platform driver
should be pretty trivial, but it's not an absolute blocking requirement,
since the driver's already in mainline.
BTW, one issue with the current driver, if you're going to add a DT
binding doc: you currently require the "gen_nand" string, like this, in
your openwrt DTS(I) files:
nand-parts@0 {
compatible = "gen_nand", "lantiq,nand-xway";
...
};
That's not an acceptable binding, and that's where refactoring the
driver would help too.
> i'll try to get this resolved for v4.6.
Brian
next prev parent reply other threads:[~2016-01-05 17:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 21:04 [PATCH 0/6] MTD: lantiq: xway: various nand fixes John Crispin
2016-01-04 21:04 ` [PATCH 1/6] MTD: lantiq: xway: fix invalid operator John Crispin
2016-01-04 23:33 ` Brian Norris
2016-01-04 21:04 ` [PATCH 2/6] MTD: lantiq: xway: the latched command should be persistent John Crispin
2016-01-04 21:04 ` [PATCH 3/6] MTD: lantiq: xway: remove endless loop John Crispin
2016-01-04 23:39 ` Brian Norris
2016-01-04 21:04 ` [PATCH 4/6] MTD: lantiq: xway: add missing write_buf and read_buf to nand driver John Crispin
2016-01-04 23:35 ` Brian Norris
2016-01-04 23:45 ` Brian Norris
2016-01-04 21:05 ` [PATCH 5/6] MTD: lantiq: xway: fix nand locking John Crispin
2016-01-04 23:36 ` Brian Norris
2016-01-04 21:05 ` [PATCH 6/6] MTD: lantiq: xway: allow request line masking John Crispin
2016-01-04 23:37 ` Brian Norris
2016-01-04 23:30 ` [PATCH 0/6] MTD: lantiq: xway: various nand fixes Brian Norris
2016-01-05 7:34 ` John Crispin
2016-01-05 17:53 ` Brian Norris [this message]
2016-01-05 18:44 ` John Crispin
2016-01-05 18:55 ` Brian Norris
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=20160105175333.GA46565@google.com \
--to=computersforpeace@gmail.com \
--cc=blogic@openwrt.org \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
/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).