Re: [PATCH v3] mtd: spi-nor: Add ISSI is25lp080d support

From: Cyrille Pitchen
Date: Thu Dec 28 2017 - 06:21:14 EST


Le 28/12/2017 Ã 11:03, Romain Porte a ÃcritÂ:
> Add support for a new ISSI 1MB SPI NOR chip that was tested in our lab.
> Datasheet is available at: http://www.issi.com/WW/pdf/25LP-WP080D.pdf
>
> Testing was done only without the SPI_NOR_{DUAL,QUAD}_READ flags that
> were added later, according to the datasheet.
>
> Tested-by: Pascal Fabreges <pascal.fabreges@xxxxxxxxx>
> Reviewed-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>
> Signed-off-by: Romain Porte <romain.porte@xxxxxxxxx>

Applied to the spi-nor/next branch of linux-mtd

Thanks!

> ---
> drivers/mtd/spi-nor/spi-nor.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 8bafd462f..18e826d36 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1050,6 +1050,8 @@ static const struct flash_info spi_nor_ids[] = {
> SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> { "is25lp128", INFO(0x9d6018, 0, 64 * 1024, 256,
> SECT_4K | SPI_NOR_DUAL_READ) },
> + { "is25lp080d", INFO(0x9d6014, 0, 64 * 1024, 16,
> + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>
> /* Macronix */
> { "mx25l512e", INFO(0xc22010, 0, 64 * 1024, 1, SECT_4K) },
>