[PATCH] mtd: gpio-nand: add device tree bindings
Mike Frysinger
vapier.adi at gmail.com
Thu Jul 28 10:06:08 EST 2011
On Wed, Jul 27, 2011 at 12:55, Jamie Iles wrote:
> 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:
>>
>> > --- /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?
fwiw, i named the parallel flash mapping driver "gpio-addr-flash"
(where some of the address lines are done with GPIOs)
-mike
More information about the devicetree-discuss
mailing list