[PATCHv4] mtd: gpio-nand: add device tree bindings

Scott Wood scottwood at freescale.com
Wed Aug 10 11:13:27 EDT 2011


On 08/09/2011 10:12 AM, Jamie Iles wrote:
> +Optional properties:
> +- bank-width : Width (in bytes) of the device.  If not present, the width
> +  defaults to 8 bits.

"in bytes" versus "defaults to 8 bits"...

> +- chip-delay : chip dependent delay for transferring data from array to
> +  read registers (tR).  If not present then a default of 0 is used.

nand_set_defaults() will set this to 20 us if you pass in zero.

> +- gpio-control-nand,io-sync-reg : A 64-bit physical address for a read
> +  location used to guard against bus reordering with regards to accesses to
> +  the GPIO's and the NAND flash data bus.  If present, then after changing
> +  GPIO state, this register will be read to ensure that the accesses have
> +  completed.

The driver does it before and after all cmd_ctrl byte writes, in
addition to after changing the GPIO state.

-Scott




More information about the linux-mtd mailing list