[PATCH 0/2] Add support for gigadevice and macronix SPI-NOR

Sridharan S N posted 2 patches 2 years, 6 months ago
drivers/mtd/spi-nor/gigadevice.c | 6 ++++++
drivers/mtd/spi-nor/macronix.c   | 3 +++
2 files changed, 9 insertions(+)
[PATCH 0/2] Add support for gigadevice and macronix SPI-NOR
Posted by Sridharan S N 2 years, 6 months ago
This series add support for SPI NOR devices mentioned below:

gigadevice:
gd25lb256e   - This supports quad read and uniform 4K-byte erase.
gd25d{2,4}0c - These supports dual read and uniform 4K-byte erase.

macronix:
mx66u1g45g - This chip supports stateless 4-byte opcodes, dual and quad
             read and uniform 4K-byte erase.
Sridharan S N (2):
  mtd: spi-nor: gigadevice: Add support for gd25lb256e and gd25d{2,4}0c
  mtd: spi-nor: macronix: Add support for mx66u1g45g

 drivers/mtd/spi-nor/gigadevice.c | 6 ++++++
 drivers/mtd/spi-nor/macronix.c   | 3 +++
 2 files changed, 9 insertions(+)

-- 
2.17.1
Re: [PATCH 0/2] Add support for gigadevice and macronix SPI-NOR
Posted by Tudor Ambarus 2 years, 6 months ago

On 17.07.2023 18:35, Sridharan S N wrote:
> This series add support for SPI NOR devices mentioned below:
> 
> gigadevice:
> gd25lb256e   - This supports quad read and uniform 4K-byte erase.
> gd25d{2,4}0c - These supports dual read and uniform 4K-byte erase.
> 
> macronix:
> mx66u1g45g - This chip supports stateless 4-byte opcodes, dual and quad
>              read and uniform 4K-byte erase.
> Sridharan S N (2):
>   mtd: spi-nor: gigadevice: Add support for gd25lb256e and gd25d{2,4}0c
>   mtd: spi-nor: macronix: Add support for mx66u1g45g
> 
>  drivers/mtd/spi-nor/gigadevice.c | 6 ++++++
>  drivers/mtd/spi-nor/macronix.c   | 3 +++
>  2 files changed, 9 insertions(+)
> 

All these flashes should support SFDP, thus you don't need to explicitly
define them. See
https://lore.kernel.org/linux-mtd/bfc85475bdcea46ea6c3ece98cc1e9cc@walle.cc/T/#mf79010e7031b03bda31690b4229a4f27f712f3a7