mtd: spinand: gigadevice: add support for GD5FxGM7xExxG
authorChuanhong Guo <gch981213@gmail.com>
Sun, 20 Mar 2022 10:00:01 +0000 (18:00 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 4 Apr 2022 08:34:56 +0000 (10:34 +0200)
commit54647cd003c08b714474a5b599a147ec6a160486
treec50c8d2f4273e1a8ab4493fb1b0b59cfc4d76a80
parent194ec04b3a9e7fa97d1fbef296410631bc3cf1c8
mtd: spinand: gigadevice: add support for GD5FxGM7xExxG

Add support for:
 GD5F{1,2}GM7{U,R}ExxG
 GD5F4GM8{U,R}ExxG

These are new 27nm counterparts for the GD5FxGQ4 chips from GigaDevice
with 8b/512b on-die ECC capability.
These chips (and currently supported GD5FxGQ5 chips) have QIO DTR
instruction for reading page cache. It isn't added in this patch because
I don't have a DTR spi controller for testing.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220320100001.247905-6-gch981213@gmail.com
drivers/mtd/nand/spi/gigadevice.c