The GD55LB02GF supports Dual Output Fast Read and Dual IO Fast Read
according to its datasheet, but its entry only declares the single
and quad reads.

>From the datasheet below, see:
- section 4.1 "SPI Mode": Dual SPI cmd are 3Bh, 3Ch, BBh and BCh
- section 8.16 "Dual Output Fast Read (3Bh/3Ch)"
- section 8.18 "Dual I/O Fast Read (BBh/BCh)"

Link: https://download.gigadevice.com/Datasheet/DS-01015-GD55LB02GF-Rev1.3.pdf
Signed-off-by: Vincent Jardin <[email protected]>

---

Changes in v2:
- Add a Link to the datasheet and sections (Takahiro)

 drivers/mtd/spi/spi-nor-ids.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 31a2ba49a87..59247b3f4b9 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -233,7 +233,8 @@ const struct flash_info spi_nor_ids[] = {
        },
        {
                INFO("gd55lb02gf", 0xc8601c, 0, 64 * 1024, 4096,
-                    SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES)
+                    SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+                    SPI_NOR_4B_OPCODES)
        },
 #endif
 #ifdef CONFIG_SPI_FLASH_ISSI           /* ISSI */
---
base-commit: a06e89ab05eaa2b8344d521319399333cd760ae5
branch: for-upstream/mtd-gd55lb02gf-dual-read-v2

-- 
2.43.0

Reply via email to