linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: Add support for Micron n25q032a
@ 2015-10-07 19:10 Aurelien Chanot
  2015-10-13  1:38 ` Brian Norris
  0 siblings, 1 reply; 3+ messages in thread
From: Aurelien Chanot @ 2015-10-07 19:10 UTC (permalink / raw)
  To: linux-mtd

The N25Q032A is identical to the N25Q032 except it has a different
supply voltage range. Therefore, it has a new JEDEC ID.

Signed-off-by: Aurelien Chanot <chanot.a@gmail.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index f59aedf..9122a2e 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -585,6 +585,7 @@ static const struct flash_info spi_nor_ids[] = {
 
 	/* Micron */
 	{ "n25q032",	 INFO(0x20ba16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
+	{ "n25q032a",	 INFO(0x20bb16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
 	{ "n25q064",     INFO(0x20ba17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
 	{ "n25q064a",    INFO(0x20bb17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
 	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024,  256, SPI_NOR_QUAD_READ) },
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: spi-nor: Add support for Micron n25q032a
  2015-10-07 19:10 [PATCH] mtd: spi-nor: Add support for Micron n25q032a Aurelien Chanot
@ 2015-10-13  1:38 ` Brian Norris
  2015-10-13 21:41   ` Aurelien Chanot
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Norris @ 2015-10-13  1:38 UTC (permalink / raw)
  To: Aurelien Chanot; +Cc: linux-mtd

On Wed, Oct 07, 2015 at 12:10:08PM -0700, Aurelien Chanot wrote:
> The N25Q032A is identical to the N25Q032 except it has a different
> supply voltage range. Therefore, it has a new JEDEC ID.
> 
> Signed-off-by: Aurelien Chanot <chanot.a@gmail.com>

Applied to l2-mtd.git

> ---
>  drivers/mtd/spi-nor/spi-nor.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index f59aedf..9122a2e 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -585,6 +585,7 @@ static const struct flash_info spi_nor_ids[] = {
>  
>  	/* Micron */
>  	{ "n25q032",	 INFO(0x20ba16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
> +	{ "n25q032a",	 INFO(0x20bb16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },

I know the original entry doesn't specify this, but does this flash
support 4K sectors and dual read? We should add the flags.

Brian

>  	{ "n25q064",     INFO(0x20ba17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
>  	{ "n25q064a",    INFO(0x20bb17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
>  	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024,  256, SPI_NOR_QUAD_READ) },

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: spi-nor: Add support for Micron n25q032a
  2015-10-13  1:38 ` Brian Norris
@ 2015-10-13 21:41   ` Aurelien Chanot
  0 siblings, 0 replies; 3+ messages in thread
From: Aurelien Chanot @ 2015-10-13 21:41 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-mtd

On Mon, Oct 12, 2015 at 06:38:28PM -0700, Brian Norris wrote:
> On Wed, Oct 07, 2015 at 12:10:08PM -0700, Aurelien Chanot wrote:
> > The N25Q032A is identical to the N25Q032 except it has a different
> > supply voltage range. Therefore, it has a new JEDEC ID.
> > 
> > Signed-off-by: Aurelien Chanot <chanot.a@gmail.com>
> 
> Applied to l2-mtd.git
> 
> > ---
> >  drivers/mtd/spi-nor/spi-nor.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> > index f59aedf..9122a2e 100644
> > --- a/drivers/mtd/spi-nor/spi-nor.c
> > +++ b/drivers/mtd/spi-nor/spi-nor.c
> > @@ -585,6 +585,7 @@ static const struct flash_info spi_nor_ids[] = {
> >  
> >  	/* Micron */
> >  	{ "n25q032",	 INFO(0x20ba16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
> > +	{ "n25q032a",	 INFO(0x20bb16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
> 
> I know the original entry doesn't specify this, but does this flash
> support 4K sectors and dual read? We should add the flags.

Yes it does support 4k erase subsectors and, quad and dual fast read.

We can create a new patch to update the flags.

> 
> Brian
> 
> >  	{ "n25q064",     INFO(0x20ba17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
> >  	{ "n25q064a",    INFO(0x20bb17, 0, 64 * 1024,  128, SECT_4K | SPI_NOR_QUAD_READ) },
> >  	{ "n25q128a11",  INFO(0x20bb18, 0, 64 * 1024,  256, SPI_NOR_QUAD_READ) },
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-13 21:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 19:10 [PATCH] mtd: spi-nor: Add support for Micron n25q032a Aurelien Chanot
2015-10-13  1:38 ` Brian Norris
2015-10-13 21:41   ` Aurelien Chanot

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).