Skip to contentSkip to conversation

mtd: spi-nor: ids: Add IS25LP01GG flash support

PATCH Applied Prasad Kummari 4 participants 7 messages Jun 17, 2024 – Jul 11, 2024 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: spi-nor: ids: Add IS25LP01GG flash support

Add support for ISSI 128MB flash IS25LP01GG. This part supports 4byte opcodes. It also supports dual and quad read.

---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +2 -0
index 4e83b8c94c..8cad764237 100644
@@ -242,6 +242,8 @@ const struct flash_info spi_nor_ids[] = {
 			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("is25lx512",  0x9d5a1a, 0, 64 * 1024, 1024,
 			SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES | SPI_NOR_HAS_TB) },
+	{ INFO("is25lp01gg",  0x9d6021, 0, 64 * 1024, 2048,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_TB) },
 #endif
 #ifdef CONFIG_SPI_FLASH_MACRONIX	/* MACRONIX */
 	/* Macronix */
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 1 line · Prasad Kummari

Add support for ISSI 128MB flash IS25LP01GG. This part

Can we have the datasheet link for this part?
I am assuming it's this?
https://www.issi.com/WW/pdf/25LP-WP01GG.pdf

Better to add it to the commit message.

Quoted 13 lines

supports 4byte opcodes. It also supports dual and quad read.

---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +0 -0
index 4e83b8c94c..8cad764237 100644

drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 246

Quoted 5 lines
drivers/mtd/spi/spi-nor-ids.c +2 -0
@@ -242,6 +242,8 @@ const struct flash_info spi_nor_ids[] = {
 			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("is25lx512",  0x9d5a1a, 0, 64 * 1024, 1024,
 			SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES | SPI_NOR_HAS_TB) },
+	{ INFO("is25lp01gg",  0x9d6021, 0, 64 * 1024, 2048,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_TB) },

Otherwise looks good to me,

Signature · 2 lines
Best regards,
Dhruva
#2 lore raw
Quoted 6 lines · Dhruva Gole
Quoted 1 line · Prasad Kummari

Add support for ISSI 128MB flash IS25LP01GG. This part

Can we have the datasheet link for this part?
I am assuming it's this?
https://www.issi.com/WW/pdf/25LP-WP01GG.pdf

Problem with links is that they will disappear when company decide to change infrastructure or is acquired by different one.

Quoted 2 lines

Better to add it to the commit message.

Not sure what's U-Boot policy on this but placing it below --- should be enough or what you have done as reply to this email that it can be found via b4.

Thanks,
Michal

Quoted 24 lines
Quoted 14 lines

supports 4byte opcodes. It also supports dual and quad read.

---
  drivers/mtd/spi/spi-nor-ids.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +0 -0
index 4e83b8c94c..8cad764237 100644

drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 246

Quoted 5 lines
drivers/mtd/spi/spi-nor-ids.c +2 -0
@@ -242,6 +242,8 @@ const struct flash_info spi_nor_ids[] = {
  			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
  	{ INFO("is25lx512",  0x9d5a1a, 0, 64 * 1024, 1024,
  			SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES | SPI_NOR_HAS_TB) },
+	{ INFO("is25lp01gg",  0x9d6021, 0, 64 * 1024, 2048,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_TB) },

Otherwise looks good to me,

#3 lore raw

Hello Michal,

Quoted 10 lines · Michal Simek
Quoted 6 lines · Dhruva Gole
Quoted 1 line · Prasad Kummari

Add support for ISSI 128MB flash IS25LP01GG. This part

Can we have the datasheet link for this part?
I am assuming it's this?
https://www.issi.com/WW/pdf/25LP-WP01GG.pdf

Problem with links is that they will disappear when company decide to change infrastructure or is acquired by different one.

You can prevent that by making sure that the link to the PDF file is archived on The Wayback Machine. [1] That way, even if the URL becomes invalid at some point in time, the contents won't be lost.

[1] https://web.archive.org/

Quoted 33 lines
Quoted 1 line

Better to add it to the commit message.

Not sure what's U-Boot policy on this but placing it below --- should be enough or what you have done as reply to this email that it can be found via b4.

Thanks,
Michal

Quoted 25 lines
Quoted 14 lines

supports 4byte opcodes. It also supports dual and quad read.

---
  drivers/mtd/spi/spi-nor-ids.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +0 -0
index 4e83b8c94c..8cad764237 100644

drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 247

Quoted 6 lines
drivers/mtd/spi/spi-nor-ids.c +2 -0
@@ -242,6 +242,8 @@ const struct flash_info spi_nor_ids[] = {
  			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
  	{ INFO("is25lx512",  0x9d5a1a, 0, 64 * 1024, 1024,
  			SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES | SPI_NOR_HAS_TB) },
+	{ INFO("is25lp01gg",  0x9d6021, 0, 64 * 1024, 2048,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_TB) 
 },

Otherwise looks good to me,

#4 lore raw
Quoted 11 lines · Dragan Simic

Hello Michal,

Quoted 8 lines · Michal Simek
Quoted 6 lines · Dhruva Gole
Quoted 1 line · Prasad Kummari

Add support for ISSI 128MB flash IS25LP01GG. This part

Can we have the datasheet link for this part?
I am assuming it's this?
https://www.issi.com/WW/pdf/25LP-WP01GG.pdf

Quoted 8 lines
Quoted 2 lines

Problem with links is that they will disappear when company decide to change infrastructure or is acquired by different one.

You can prevent that by making sure that the link to the PDF file is archived on The Wayback Machine. [1]  That way, even if the URL becomes invalid at some point in time, the contents won't be lost.

[1] https://web.archive.org/

No idea about it. Up to Tom.

Cheers,
Michal

#5 lore raw
Quoted 13 lines · Michal Simek
Quoted 12 lines · Dragan Simic
Quoted 10 lines · Michal Simek
Quoted 6 lines · Dhruva Gole
Quoted 1 line · Prasad Kummari

Add support for ISSI 128MB flash IS25LP01GG. This part

Can we have the datasheet link for this part?
I am assuming it's this?
https://www.issi.com/WW/pdf/25LP-WP01GG.pdf

Problem with links is that they will disappear when company decide to change infrastructure or is acquired by different one.

Quoted 7 lines
Quoted 5 lines

You can prevent that by making sure that the link to the PDF file is archived on The Wayback Machine. [1]  That way, even if the URL becomes invalid at some point in time, the contents won't be lost.

[1] https://web.archive.org/

No idea about it. Up to Tom.

As a note, that's what Wikipedia does with its online references that become inaccessible over time.

Applied
#6 lore raw
In reply to Prasad Kummari
Quoted 14 lines · Prasad Kummari

Add support for ISSI 128MB flash IS25LP01GG. This part supports 4byte opcodes. It also supports dual and quad read.

---
  drivers/mtd/spi/spi-nor-ids.c | 2 ++
  1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +0 -0
index 4e83b8c94c..8cad764237 100644

drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 249

Quoted 8 lines
drivers/mtd/spi/spi-nor-ids.c +2 -0
@@ -242,6 +242,8 @@ const struct flash_info spi_nor_ids[] = {
  			SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
  	{ INFO("is25lx512",  0x9d5a1a, 0, 64 * 1024, 1024,
  			SECT_4K | USE_FSR | SPI_NOR_4B_OPCODES | SPI_NOR_HAS_TB) },
+	{ INFO("is25lp01gg",  0x9d6021, 0, 64 * 1024, 2048,
+			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_TB) },
  #endif
  #ifdef CONFIG_SPI_FLASH_MACRONIX	/* MACRONIX */
  	/* Macronix */

Applied.
M