[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251112-nor-v2-0-8699383714b9@nxp.com>
Date: Wed, 12 Nov 2025 14:36:18 +0800
From: Haibo Chen <haibo.chen@....com>
To: Tudor Ambarus <tudor.ambarus@...aro.org>,
Pratyush Yadav <pratyush@...nel.org>, Michael Walle <mwalle@...nel.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra <vigneshr@...com>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
Haibo Chen <haibo.chen@....com>, imx@...ts.linux.dev
Subject: [PATCH v2 0/5] mtd: spi-nor: micron-st: few clean up for micron
spi nor chip
mt35xu02gcba, mt35xu01gbba and mt35xu512aba are similar, but with
different number of dies. According to the datasheet:
https://datasheet.octopart.com/MT35XU02GCBA1G12-0AAT-Micron-datasheet-138896808.pdf
these chips all support die erase command, but do not support chip
erase. But accroding to test, mt35xu512aba support chip erase, do not
support die erase. mt35xu01gbba do not support chip erase, but support
die erase.
This patch set clean up the mt35xu512aba, and add mt35xu01gbba.
since do not have mt35xu02gcba to do the test, just add some comment
under mt35xu02gcba for further work.
Signed-off-by: Haibo Chen <haibo.chen@....com>
---
Changes in v2:
- PATCH 1: edit the commit message, mention the function move a bit up,
and add Tudor's ack.
- PATCH 2: new involved in v2, move set_octal_dtr to late_init() to benifit
all micron/st chips.
- PATCH 3: v1 add die erase for mt35xu512aba, but find it is wrong after test.
mt35xu512aba can support chip erase, but not die erase.
v2 also remove some fixup flags and size, because mt35xu512aba has
SFDP.
- PATCH 4: V2 use SFDP, remove some fixup flags and size.
- PATCH 5: V2 remove the code change for mt35xu02gcba, because has no chip to
test, just add some comment to remider a code change in future if
has a chance to test on this chip.
- Link to v1: https://lore.kernel.org/r/20251110-nor-v1-0-cde50c81db05@nxp.com
---
Haibo Chen (5):
mtd: spi-nor: micron-st: rename the die_late_init functions
mtd: spi-nor: micron-st: move set_octal_dtr to late_init()
mtd: spi-nor: micron-st: use SFDP of mt35xu512aba
mtd: spi-nor: micron-st: add mt35xu01gbba support
mtd: spi-nor: micron-st: add comment for mt35xu02gcba
drivers/mtd/spi-nor/micron-st.c | 97 +++++++++++++++++++++++------------------
1 file changed, 54 insertions(+), 43 deletions(-)
---
base-commit: 9c0826a5d9aa4d52206dd89976858457a2a8a7ed
change-id: 20251107-nor-84fe07ec3363
Best regards,
--
Haibo Chen <haibo.chen@....com>
Powered by blists - more mailing lists