[4.4/4.9/4.14] mtd: spi-nor: Add support for is25wp series chips
diff mbox series

Message ID 20181020194442.13769-1-bunk@kernel.org
State Not Applicable
Headers show
Series
  • [4.4/4.9/4.14] mtd: spi-nor: Add support for is25wp series chips
Related show

Commit Message

Adrian Bunk Oct. 20, 2018, 7:44 p.m. UTC
From: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>

Added support for is25wp032, is25wp064 and is25wp128.

Signed-off-by: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
[ Adrian Bunk: Trivial adaption to changed context. ]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
 drivers/mtd/spi-nor/spi-nor.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Greg Kroah-Hartman Oct. 21, 2018, 7:11 a.m. UTC | #1
On Sat, Oct 20, 2018 at 10:44:42PM +0300, Adrian Bunk wrote:
> From: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>
> 
> Added support for is25wp032, is25wp064 and is25wp128.
> 
> Signed-off-by: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>
> Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
> [ Adrian Bunk: Trivial adaption to changed context. ]
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> ---
>  drivers/mtd/spi-nor/spi-nor.c | 6 ++++++
>  1 file changed, 6 insertions(+)

What is the git commit id of this patch in Linus's tree?

thanks,

greg k-h
Adrian Bunk Oct. 21, 2018, 7:43 a.m. UTC | #2
On Sun, Oct 21, 2018 at 09:11:17AM +0200, Greg KH wrote:
> On Sat, Oct 20, 2018 at 10:44:42PM +0300, Adrian Bunk wrote:
> > From: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>
> > 
> > Added support for is25wp032, is25wp064 and is25wp128.
> > 
> > Signed-off-by: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>
> > Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
> > Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
> > [ Adrian Bunk: Trivial adaption to changed context. ]
> > Signed-off-by: Adrian Bunk <bunk@kernel.org>
> > ---
> >  drivers/mtd/spi-nor/spi-nor.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
> 
> What is the git commit id of this patch in Linus's tree?

Apologies for forgetting that, it is 
d616f81cdd2a21edfa90a595a4e9b143f5ba8414

> thanks,
> 
> greg k-h

cu
Adrian
Sasha Levin Oct. 31, 2018, 2:07 p.m. UTC | #3
On Sun, Oct 21, 2018 at 10:43:31AM +0300, Adrian Bunk wrote:
>On Sun, Oct 21, 2018 at 09:11:17AM +0200, Greg KH wrote:
>> On Sat, Oct 20, 2018 at 10:44:42PM +0300, Adrian Bunk wrote:
>> > From: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>
>> >
>> > Added support for is25wp032, is25wp064 and is25wp128.
>> >
>> > Signed-off-by: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>
>> > Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
>> > Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
>> > [ Adrian Bunk: Trivial adaption to changed context. ]
>> > Signed-off-by: Adrian Bunk <bunk@kernel.org>
>> > ---
>> >  drivers/mtd/spi-nor/spi-nor.c | 6 ++++++
>> >  1 file changed, 6 insertions(+)
>>
>> What is the git commit id of this patch in Linus's tree?
>
>Apologies for forgetting that, it is
>d616f81cdd2a21edfa90a595a4e9b143f5ba8414

I've queued this patch for 4.14, 4.9, and 4.4. Thank you.

--
Thanks,
Sasha

Patch
diff mbox series

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 19c000722cbc..34ecc12ee3d9 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1005,6 +1005,12 @@  static const struct flash_info spi_nor_ids[] = {
 
 	/* ISSI */
 	{ "is25cd512", INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
+	{ "is25wp032", INFO(0x9d7016, 0, 64 * 1024,  64,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+	{ "is25wp064", INFO(0x9d7017, 0, 64 * 1024, 128,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+	{ "is25wp128", INFO(0x9d7018, 0, 64 * 1024, 256,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 
 	/* Macronix */
 	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },