mtd: spi-nor: ids: Add IS25LP01GG flash support
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
@@ -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
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.
Signed-off-by Prasad Kummari <[email protected]>--- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi/spi-nor-ids.c +0
-0
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
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.
Signed-off-by Prasad Kummari <[email protected]>--- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi/spi-nor-ids.c +0
-0drivers/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,
Reviewed-by Dhruva Gole <[email protected]>
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.pdfProblem 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.
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,
MichalQuoted 25 lines
Quoted 14 lines
supports 4byte opcodes. It also supports dual and quad read.
Signed-off-by Prasad Kummari <[email protected]>--- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi/spi-nor-ids.c +0
-0drivers/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,
Reviewed-by Dhruva Gole <[email protected]>
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.
No idea about it. Up to Tom.
Cheers,
Michal
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.pdfProblem 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.
No idea about it. Up to Tom.
As a note, that's what Wikipedia does with its online references that become inaccessible over time.
Michal Simek
AppliedQuoted 14 lines · Prasad Kummari
Add support for ISSI 128MB flash IS25LP01GG. This part supports 4byte opcodes. It also supports dual and quad read.
Signed-off-by Prasad Kummari <[email protected]>--- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi/spi-nor-ids.c +0
-0
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