Adding MTD concat support to FSL ELBC NAND driver

2009-08-13 Thread Felix Radensky

Hi,

I'd like to be able to concatenate several NAND banks (each bank on 
separate chip select)
into a single MTD device, and define partition table on a concatenated 
device.


Currently concatenation support is implemented in physmap_of driver. The 
syntax used
to define a concatenation device involves multiple reg tuples, as 
described in
Documentation/powerpc/dts-bindings/mtd-physmap.txt. Will same syntax be 
acceptable

for NAND chips ?

Thanks.

Felix.

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: Adding MTD concat support to FSL ELBC NAND driver

2009-08-13 Thread Scott Wood

Felix Radensky wrote:

Currently concatenation support is implemented in physmap_of driver.
The syntax used to define a concatenation device involves multiple
reg tuples, as described in 
Documentation/powerpc/dts-bindings/mtd-physmap.txt. Will same syntax

be acceptable for NAND chips ?


I'm not too fond of that -- it would require support in each controller 
driver, and would preclude providing other device-specific information 
in the node (e.g. what if each NAND chip has to sit under a different 
parent node to describe its connection to the system?).  What if a NAND 
controller has multiple reg resources for each chip?  It's not 
memory-like the way NOR flash is.


If we're going to put it in the device tree at all (I suppose for the 
same reason we put partitioning there), it should probably be some 
external construct that glues together flash nodes.


-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev