[PATCH] mtd: gpio-nand: add device tree bindings
Scott Wood
scottwood at freescale.com
Thu Jul 28 07:01:37 EST 2011
On Wed, 27 Jul 2011 20:55:12 +0100
Jamie Iles <jamie at jamieiles.com> wrote:
> Hmm, get_maintainer.pl got Artem's address wrong (old Nokia address) for
> gpio-nand.c so correct one on CC now!
>
> On Wed, Jul 27, 2011 at 02:45:01PM -0500, Scott Wood wrote:
> > On Wed, 27 Jul 2011 15:03:30 +0100
> > Jamie Iles <jamie at jamieiles.com> wrote:
> >
> > > diff --git a/Documentation/devicetree/bindings/mtd/gpio-nand.txt b/Documentation/devicetree/bindings/mtd/gpio-nand.txt
> > > new file mode 100644
> > > index 0000000..98cb152
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/mtd/gpio-nand.txt
> > > @@ -0,0 +1,43 @@
> > > +GPIO assisted NAND flash
> > > +
> > > +Required properties:
> > > +- compatible : "gpio-nand"
> > > +- reg : should specify localbus chip select and size used for the chip. For
> > > + ARM platforms where a dummy read is needed to provide synchronisation with
> > > + regards to bus reordering, an optional second resource describes the
> > > + location to read from.
> >
> > I don't see how a pure "gpio nand" device would have any memory mapped
> > I/O. I think you need a more specific compatible for this.
>
> OK, fair point. I'm not sure what a better name would be though, maybe
> gpio-assisted-nand?
Not sure, but if the name is generic at all the binding should thorougly
describe what is expected of the hardware.
-Scott
More information about the devicetree-discuss
mailing list