Message ID | 20240617041841.1336632-1-prasad.kummari@amd.com |
---|---|
State | Accepted |
Commit | c43d65e2664397141834bad6f08711bdb8b2df70 |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Series | mtd: spi-nor: ids: Add IS25LP01GG flash support | expand |
On Jun 17, 2024 at 09:48:42 +0530, Prasad Kummari wrote: > 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. > supports 4byte opcodes. It also supports dual and quad > read. > > Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> > --- > drivers/mtd/spi/spi-nor-ids.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c > index 4e83b8c94c..8cad764237 100644 > --- a/drivers/mtd/spi/spi-nor-ids.c > +++ b/drivers/mtd/spi/spi-nor-ids.c > @@ -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 <d-gole@ti.com>
On 6/17/24 08:28, Dhruva Gole wrote: > On Jun 17, 2024 at 09:48:42 +0530, Prasad Kummari wrote: >> 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. > > 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 > >> supports 4byte opcodes. It also supports dual and quad >> read. >> >> Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> >> --- >> drivers/mtd/spi/spi-nor-ids.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c >> index 4e83b8c94c..8cad764237 100644 >> --- a/drivers/mtd/spi/spi-nor-ids.c >> +++ b/drivers/mtd/spi/spi-nor-ids.c >> @@ -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 <d-gole@ti.com> > >
Hello Michal, On 2024-06-17 15:26, Michal Simek wrote: > On 6/17/24 08:28, Dhruva Gole wrote: >> On Jun 17, 2024 at 09:48:42 +0530, Prasad Kummari wrote: >>> 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/ >> 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 > >> >>> supports 4byte opcodes. It also supports dual and quad >>> read. >>> >>> Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> >>> --- >>> drivers/mtd/spi/spi-nor-ids.c | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/drivers/mtd/spi/spi-nor-ids.c >>> b/drivers/mtd/spi/spi-nor-ids.c >>> index 4e83b8c94c..8cad764237 100644 >>> --- a/drivers/mtd/spi/spi-nor-ids.c >>> +++ b/drivers/mtd/spi/spi-nor-ids.c >>> @@ -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 <d-gole@ti.com> >> >>
On 6/17/24 15:31, Dragan Simic wrote: > Hello Michal, > > On 2024-06-17 15:26, Michal Simek wrote: >> On 6/17/24 08:28, Dhruva Gole wrote: >>> On Jun 17, 2024 at 09:48:42 +0530, Prasad Kummari wrote: >>>> 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/ No idea about it. Up to Tom. Cheers, Michal
On 2024-06-17 15:38, Michal Simek wrote: > On 6/17/24 15:31, Dragan Simic wrote: >> On 2024-06-17 15:26, Michal Simek wrote: >>> On 6/17/24 08:28, Dhruva Gole wrote: >>>> On Jun 17, 2024 at 09:48:42 +0530, Prasad Kummari wrote: >>>>> 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/ > > No idea about it. Up to Tom. As a note, that's what Wikipedia does with its online references that become inaccessible over time.
On 6/17/24 06:18, Prasad Kummari wrote: > Add support for ISSI 128MB flash IS25LP01GG. This part > supports 4byte opcodes. It also supports dual and quad > read. > > Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> > --- > drivers/mtd/spi/spi-nor-ids.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c > index 4e83b8c94c..8cad764237 100644 > --- a/drivers/mtd/spi/spi-nor-ids.c > +++ b/drivers/mtd/spi/spi-nor-ids.c > @@ -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
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 4e83b8c94c..8cad764237 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -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 */
Add support for ISSI 128MB flash IS25LP01GG. This part supports 4byte opcodes. It also supports dual and quad read. Signed-off-by: Prasad Kummari <prasad.kummari@amd.com> --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)