diff mbox series

[RESEND] mtd: spi-nor: add support for ISSI is25lp128

Message ID 20171116135600.6lfrbnw5j2vckheo@jerusalem
State Superseded
Delegated to: Cyrille Pitchen
Headers show
Series [RESEND] mtd: spi-nor: add support for ISSI is25lp128 | expand

Commit Message

Angelo Dureghello Nov. 16, 2017, 1:56 p.m. UTC
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Boris Brezillon Nov. 16, 2017, 6:43 p.m. UTC | #1
Hello Angelo,

On Thu, 16 Nov 2017 14:56:01 +0100
Angelo Dureghello <angelo@sysam.it> wrote:

Can you please add a commit message here?

I'll let Cyrille comment on the patch itself.

Regards,

Boris

> Signed-off-by: Angelo Dureghello <angelo@sysam.it>
> ---
>  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 19c000722cbc..88cd10a0ee9e 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1005,6 +1005,7 @@ static const struct flash_info spi_nor_ids[] = {
>  
>  	/* ISSI */
>  	{ "is25cd512", INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
> +	{ "is25lp128", INFO(0x9d6018, 0, 64 * 1024,   256, SECT_4K) },
>  
>  	/* Macronix */
>  	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },
Angelo Dureghello Nov. 16, 2017, 7:07 p.m. UTC | #2
Hi Boris,

On Thu, Nov 16, 2017 at 07:43:11PM +0100, Boris Brezillon wrote:
> Hello Angelo,
> 
> On Thu, 16 Nov 2017 14:56:01 +0100
> Angelo Dureghello <angelo@sysam.it> wrote:
> 
> Can you please add a commit message here?
> 

Sure, will send a v2 with a commit message in short.
To explain a bit, i am continuing Nikita Nazarenko job,
since i have here "stmark2" board with this chip, i
could test proper spi nor access and 4K and 64k erase,
as you can read here.

http://lists.infradead.org/pipermail/linux-mtd/2017-October/077225.html


> I'll let Cyrille comment on the patch itself.
> 
> Regards,
> 
> Boris

Regards,
Angelo
> 
> > Signed-off-by: Angelo Dureghello <angelo@sysam.it>
> > ---
> >  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 19c000722cbc..88cd10a0ee9e 100644
> > --- a/drivers/mtd/spi-nor/spi-nor.c
> > +++ b/drivers/mtd/spi-nor/spi-nor.c
> > @@ -1005,6 +1005,7 @@ static const struct flash_info spi_nor_ids[] = {
> >  
> >  	/* ISSI */
> >  	{ "is25cd512", INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
> > +	{ "is25lp128", INFO(0x9d6018, 0, 64 * 1024,   256, SECT_4K) },
> >  
> >  	/* Macronix */
> >  	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },
>
diff mbox series

Patch

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 19c000722cbc..88cd10a0ee9e 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1005,6 +1005,7 @@  static const struct flash_info spi_nor_ids[] = {
 
 	/* ISSI */
 	{ "is25cd512", INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
+	{ "is25lp128", INFO(0x9d6018, 0, 64 * 1024,   256, SECT_4K) },
 
 	/* Macronix */
 	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },