[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241126185834.1130949-4-va@nvidia.com>
Date: Tue, 26 Nov 2024 18:58:34 +0000
From: Vishwaroop A <va@...dia.com>
To: <tudor.ambarus@...aro.org>, <pratyush@...nel.org>, <mwalle@...nel.org>,
<cmiquel.raynal@...tlin.com>, <thierry.reding@...il.com>, <richard@....at>,
<vigneshr@...com>, <linux-mtd@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <jonathanh@...dia.com>,
<kyarlagadda@...dia.com>, <smangipudi@...dia.com>
CC: Vishwaroop A <va@...dia.com>
Subject: [PATCH 3/3] mtd: spi-nor: Add support for mx25u51279g
Add support for the Macronix mx25u51279g SPI NOR flash. This device has
a 64MB size with 4K sector erase, dual/quad read capabilities and
support 4-bytes opcodes.
Erasing, reading and writing this flash device has been validated on
the Jetson AGX Orin platform using mtd_debug and dd utilities.
Change-Id: I740269c781d42781431935e593f651573e078372
Signed-off-by: Vishwaroop A <va@...dia.com>
---
drivers/mtd/spi-nor/macronix.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index 830da21eea08..4a15984f63a8 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -154,6 +154,12 @@ static const struct flash_info macronix_nor_parts[] = {
.size = SZ_64M,
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
.fixup_flags = SPI_NOR_4B_OPCODES,
+ }, {
+ .id = SNOR_ID(0xc2, 0x95, 0x3a),
+ .name = "mx25u51279g",
+ .size = SZ_64M,
+ .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
+ .fixup_flags = SPI_NOR_4B_OPCODES,
}, {
.id = SNOR_ID(0xc2, 0x25, 0x3a),
.name = "mx66u51235f",
--
2.17.1
Powered by blists - more mailing lists