* [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g @ 2019-08-29 12:07 Ashish Kumar 2019-08-29 12:07 ` [PATCH v4] mtd: spi-nor: Rename n25q512a to mt25qu512a(n25q512a) Ashish Kumar 2019-08-30 7:16 ` [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g Tudor.Ambarus 0 siblings, 2 replies; 4+ messages in thread From: Ashish Kumar @ 2019-08-29 12:07 UTC (permalink / raw) To: tudor.ambarus, marek.vasut, dwmw2, computersforpeace, miquel.raynal, richard, vigneshr, linux-mtd Cc: Kuldeep Singh, linux-kernel, Ashish Kumar mt35xu02g is Octal flash supporting Single I/O and QCTAL I/O and it has been tested on LS1028ARDB Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com> --- v4: split into seperate patch v3: v2: did not exist drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index b585f3fee4f0..409e81153525 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1899,6 +1899,9 @@ static const struct flash_info spi_nor_ids[] = { SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) }, + { "mt35xu02g", INFO(0x2c5b1c, 0, 128 * 1024, 2048, + SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | + SPI_NOR_4B_OPCODES) }, /* PMC */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) }, -- 2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v4] mtd: spi-nor: Rename n25q512a to mt25qu512a(n25q512a) 2019-08-29 12:07 [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g Ashish Kumar @ 2019-08-29 12:07 ` Ashish Kumar 2019-08-30 7:16 ` Tudor.Ambarus 2019-08-30 7:16 ` [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g Tudor.Ambarus 1 sibling, 1 reply; 4+ messages in thread From: Ashish Kumar @ 2019-08-29 12:07 UTC (permalink / raw) To: tudor.ambarus, marek.vasut, dwmw2, computersforpeace, miquel.raynal, richard, vigneshr, linux-mtd Cc: Kuldeep Singh, linux-kernel, Ashish Kumar mt25qu512a is rebranded after its spinoff from STM, so it is different only in term of operating frequency, JEDEC id is same as that of n25q512a. SPI_NOR_4B_OPCODES is appended to flash property. This flash is tested for Single I/O and QUAD I/O mode on LS1046FRWY. Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com> --- v4: -Reword commit message as per review comments from tudor. - split into seperate patch v3: -Reword commits msg -rebase to top of mtd-linux spi-nor/next v2: Incorporate review comments from Vignesh drivers/mtd/spi-nor/spi-nor.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 73172d7f512b..b585f3fee4f0 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1876,7 +1876,18 @@ static const struct flash_info spi_nor_ids[] = { { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_QUAD_READ) }, { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "n25q256ax1", INFO(0x20bb19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_QUAD_READ) }, - { "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) }, + + /* Micron */ + /* n25q512a is rebraned as mt25qu512a after spin-off from ST, + * JEDEC id remains same. + * Operational frequency and Read Performance has increased + */ + { + "mt25qu512a(n25q512a)", INFO(0x20bb20, 0, 64 * 1024, 1024, + SECT_4K | USE_FSR | SPI_NOR_DUAL_READ | + SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) + }, + { "n25q512ax3", INFO(0x20ba20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) }, { "n25q00", INFO(0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { "n25q00a", INFO(0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, -- 2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v4] mtd: spi-nor: Rename n25q512a to mt25qu512a(n25q512a) 2019-08-29 12:07 ` [PATCH v4] mtd: spi-nor: Rename n25q512a to mt25qu512a(n25q512a) Ashish Kumar @ 2019-08-30 7:16 ` Tudor.Ambarus 0 siblings, 0 replies; 4+ messages in thread From: Tudor.Ambarus @ 2019-08-30 7:16 UTC (permalink / raw) To: Ashish.Kumar, marek.vasut, dwmw2, computersforpeace, miquel.raynal, richard, vigneshr, linux-mtd Cc: kuldeep.singh, linux-kernel On 08/29/2019 03:07 PM, Ashish Kumar wrote: > External E-Mail > > > mt25qu512a is rebranded after its spinoff from STM, so it is > different only in term of operating frequency, JEDEC id > is same as that of n25q512a. > SPI_NOR_4B_OPCODES is appended to flash property. > This flash is tested for Single I/O and QUAD I/O mode on LS1046FRWY. > > Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> > Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com> > Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com> > Renamed entry to "mt25qu512a (n25q512a)", reworded commit message, ordered entry by size, dropped comment as it looked redundant and Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git, spi-nor/next branch. Thanks, ta ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g 2019-08-29 12:07 [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g Ashish Kumar 2019-08-29 12:07 ` [PATCH v4] mtd: spi-nor: Rename n25q512a to mt25qu512a(n25q512a) Ashish Kumar @ 2019-08-30 7:16 ` Tudor.Ambarus 1 sibling, 0 replies; 4+ messages in thread From: Tudor.Ambarus @ 2019-08-30 7:16 UTC (permalink / raw) To: Ashish.Kumar, marek.vasut, dwmw2, computersforpeace, miquel.raynal, richard, vigneshr, linux-mtd Cc: kuldeep.singh, linux-kernel On 08/29/2019 03:07 PM, Ashish Kumar wrote: > External E-Mail > > > mt35xu02g is Octal flash supporting Single I/O and QCTAL I/O > and it has been tested on LS1028ARDB > > Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> > Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com> > Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com> > --- > v4: > split into seperate patch > v3: > v2: > did not exist > > drivers/mtd/spi-nor/spi-nor.c | 3 +++ > 1 file changed, 3 insertions(+) > Reworded commit message and Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git, spi-nor/next branch. Thanks, ta ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-08-30 7:20 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-08-29 12:07 [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g Ashish Kumar 2019-08-29 12:07 ` [PATCH v4] mtd: spi-nor: Rename n25q512a to mt25qu512a(n25q512a) Ashish Kumar 2019-08-30 7:16 ` Tudor.Ambarus 2019-08-30 7:16 ` [PATCH v4] mtd: spi-nor: Add flash property for mt35xu02g Tudor.Ambarus
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).