Re: Document and implement an improved flash device binding for powerpc (v5)

2007-09-09 Thread David Gibson
On Fri, Sep 07, 2007 at 04:25:10PM +0200, Segher Boessenkool wrote: This patch replaces the binding for flash chips in booting-without-of.txt with an clarified and improved version. It also makes drivers/mtd/maps/physmap_of.c recognize this new binding. Finally it revises the Ebony device

Re: Document and implement an improved flash device binding

2007-09-07 Thread Segher Boessenkool
Let's have bank-width optional instead, it's more natural that way for the common case of just one chip. Or, you can say that either is optional. No, I'm disinclined to do that since bank-width is the primary bit of information that the driver needs. Bt. That's not what the device

Re: Document and implement an improved flash device binding

2007-09-06 Thread Segher Boessenkool
+ - bank-width : Width (in bytes) of the flash bank. Equal to the + device width times the number of interleaved chips. + - device-width : (optional) Width of a single flash chip. If + omitted, assumed to be equal to 'bank-width'. Let's have bank-width optional

Re: Document and implement an improved flash device binding

2007-09-06 Thread David Gibson
On Thu, Sep 06, 2007 at 03:28:35PM +0200, Segher Boessenkool wrote: + - bank-width : Width (in bytes) of the flash bank. Equal to the + device width times the number of interleaved chips. + - device-width : (optional) Width of a single flash chip. If + omitted,

Re: Document and implement an improved flash device binding

2007-09-04 Thread David Gibson
On Mon, Sep 03, 2007 at 12:23:34PM +0200, Segher Boessenkool wrote: + j) CFI or JEDEC memory-mapped NOR flash Flash chips (Memory Technology Devices) are often used for solid state file systems on embedded devices. Well, almost everything has a NOR flash on it, not just

Re: Document and implement an improved flash device binding for powerpc (v4)

2007-08-30 Thread Scott Wood
On Thu, Aug 30, 2007 at 11:21:18AM +1000, David Gibson wrote: +For JEDEC compatible devices, the following additional properties +are defined: + + - vendor-id : Contains the flash chip's vendor id (1 byte). + - device-id : Contains the flash chip's device id (1 byte). Are

Re: Document and implement an improved flash device binding for powerpc (v4)

2007-08-30 Thread Scott Wood
On Thu, Aug 30, 2007 at 12:59:52PM -0500, Josh Boyer wrote: On Thu, 30 Aug 2007 12:29:33 -0500 Scott Wood [EMAIL PROTECTED] wrote: On Thu, Aug 30, 2007 at 11:21:18AM +1000, David Gibson wrote: +For JEDEC compatible devices, the following additional properties +are defined: +

Re: Document and implement an improved flash device binding for powerpc (v4)

2007-08-30 Thread Josh Boyer
On Thu, 30 Aug 2007 13:04:50 -0500 Scott Wood [EMAIL PROTECTED] wrote: On Thu, Aug 30, 2007 at 12:59:52PM -0500, Josh Boyer wrote: On Thu, 30 Aug 2007 12:29:33 -0500 Scott Wood [EMAIL PROTECTED] wrote: On Thu, Aug 30, 2007 at 11:21:18AM +1000, David Gibson wrote: +For JEDEC

Re: Document and implement an improved flash device binding

2007-08-29 Thread Domen Puncer
On 29/08/07 16:13 +1000, David Gibson wrote: snip static int __devinit of_physmap_probe(struct of_device *dev, const struct of_device_id *match) { struct device_node *dp = dev-node; struct resource res; struct physmap_flash_info *info; - const char **probe_type; -

Re: Document and implement an improved flash device binding

2007-08-29 Thread David Gibson
On Wed, Aug 29, 2007 at 10:43:41AM +0200, Domen Puncer wrote: On 29/08/07 16:13 +1000, David Gibson wrote: snip static int __devinit of_physmap_probe(struct of_device *dev, const struct of_device_id *match) { struct device_node *dp = dev-node; struct resource res;

Re: Document and implement an improved flash device binding for powerpc

2007-08-28 Thread Josh Boyer
On Tue, 28 Aug 2007 13:47:51 +1000 David Gibson [EMAIL PROTECTED] wrote: This patch replaces the binding for flash chips in booting-without-of.txt with an clarified and improved version. It also makes drivers/mtd/maps/physmap_of.c recognize this new binding. Finally it revises the Ebony

Re: Document and implement an improved flash device binding for powerpc

2007-08-28 Thread David Gibson
On Tue, Aug 28, 2007 at 01:39:26PM -0500, Josh Boyer wrote: On Tue, 28 Aug 2007 13:47:51 +1000 David Gibson [EMAIL PROTECTED] wrote: This patch replaces the binding for flash chips in booting-without-of.txt with an clarified and improved version. It also makes