public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: spi-nor: micron-st: Add support for mt25qu01g
@ 2023-10-23 21:38 Fabio Estevam
  2023-10-24  6:01 ` Tudor Ambarus
  2023-10-24  9:26 ` Michael Walle
  0 siblings, 2 replies; 17+ messages in thread
From: Fabio Estevam @ 2023-10-23 21:38 UTC (permalink / raw)
  To: michael
  Cc: tudor.ambarus, pratyush, miquel.raynal, richard, vigneshr,
	linux-mtd, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

Add support for the MT25QU01G 128MB Micron Serial NOR Flash Memory
model.
    
Datasheet:
https://www.micron.com/-/media/client/global/documents/products/data-sheet/nor-flash/serial-nor/mt25q/die-rev-b/mt25q_qlkt_u_01g_bbb_0.pdf

Tested on a i.MX8MP based board:

 # dmesg | grep spi-nor
[    1.854474] spi-nor spi0.0: mt25qu01g (131072 Kbytes)

 # cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 08000000 00001000 "30bb0000.spi"

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/mtd/spi-nor/micron-st.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/mtd/spi-nor/micron-st.c b/drivers/mtd/spi-nor/micron-st.c
index 8920547c12bf..da2f8992bbc0 100644
--- a/drivers/mtd/spi-nor/micron-st.c
+++ b/drivers/mtd/spi-nor/micron-st.c
@@ -429,6 +429,13 @@ static const struct flash_info st_nor_parts[] = {
 			 SPI_NOR_BP3_SR_BIT6,
 		.no_sfdp_flags = SECT_4K | SPI_NOR_QUAD_READ,
 		.mfr_flags = USE_FSR,
+	}, {
+		.id = SNOR_ID(0x20, 0xbb, 0x21, 0x10, 0x44, 0x00),
+		.name = "mt25qu01g",
+		.size = SZ_128M,
+		.flags = NO_CHIP_ERASE,
+		.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
+		.mfr_flags = USE_FSR,
 	}, {
 		.id = SNOR_ID(0x20, 0xbb, 0x21),
 		.name = "n25q00a",
-- 
2.34.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-10-26 11:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23 21:38 [PATCH] mtd: spi-nor: micron-st: Add support for mt25qu01g Fabio Estevam
2023-10-24  6:01 ` Tudor Ambarus
2023-10-24 13:57   ` Fabio Estevam
2023-10-24 14:23     ` Tudor Ambarus
2023-10-24  9:26 ` Michael Walle
2023-10-24 11:43   ` Fabio Estevam
2023-10-24 13:59     ` Michael Walle
2023-10-24 15:47       ` Fabio Estevam
2023-10-24 15:53         ` Tudor Ambarus
2023-10-24 16:20           ` Fabio Estevam
2023-10-24 16:36             ` Michael Walle
2023-10-24 16:43               ` Fabio Estevam
2023-10-25  3:34                 ` Tudor Ambarus
2023-10-25 11:56                   ` Fabio Estevam
2023-10-25 17:35                     ` Fabio Estevam
2023-10-26  6:33                       ` Michael Walle
2023-10-26 11:25                         ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox