* Adding MTD concat support to FSL ELBC NAND driver
@ 2009-08-13 13:46 Felix Radensky
2009-08-13 17:37 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Felix Radensky @ 2009-08-13 13:46 UTC (permalink / raw)
To: linuxppc-dev@ozlabs.org list, Scott Wood
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adding MTD concat support to FSL ELBC NAND driver
2009-08-13 13:46 Adding MTD concat support to FSL ELBC NAND driver Felix Radensky
@ 2009-08-13 17:37 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2009-08-13 17:37 UTC (permalink / raw)
To: Felix Radensky; +Cc: linuxppc-dev@ozlabs.org list
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-13 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 13:46 Adding MTD concat support to FSL ELBC NAND driver Felix Radensky
2009-08-13 17:37 ` Scott Wood
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).