Skip to content

mtd: spi-nor: micron-st: few clean up for micron spi nor chip

Haibo Chen imx linux-mtd lkml 4 versions – Applied

Status from this message: Applied to spi-nor/next with the patch 5 touched up. See

Get series with b4
b4 am [email protected] change-id 20251107-nor-84fe07ec3363

Versions newest first

  1. v4 Latest5 patches 5 repliesApplied
  2. v35 patches 5 repliesSuperseded
  3. v25 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches10 repliesSuperseded

Changes in v4 from the cover letter

- PATCH 2: change the commit log accroding to Tudor's suggestion.
- PATCH 3/4: remove sector_size, SFDP alredy contain this info.
- PATCH 5: change the commit message according to Tudor's suggestion.
- Link to v3: https://lore.kernel.org/r/[email protected]

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5mtd: spi-nor: micron-st: rename the die_late_init functionsdrivers/mtd/spi-nor/micron-st.c+35 -350 replies
2/5mtd: spi-nor: micron-st: move set_octal_dtr to late_init()drivers/mtd/spi-nor/micron-st.c+2 -60 replies
3/5mtd: spi-nor: micron-st: use SFDP of mt35xu512abadrivers/mtd/spi-nor/micron-st.c+2 -60 replies
4/5mtd: spi-nor: micron-st: add mt35xu01gbba supportdrivers/mtd/spi-nor/micron-st.c+11 -01 reply
5/5mtd: spi-nor: micron-st: add comment for mt35xu02gcbadrivers/mtd/spi-nor/micron-st.c+10 -03 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchTudor Ambarus
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 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.

---
Changes in v4:
- PATCH 2: change the commit log accroding to Tudor's suggestion.
- PATCH 3/4: remove sector_size, SFDP alredy contain this info.
- PATCH 5: change the commit message according to Tudor's suggestion.
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- only change the commit message of PATCH4, no other change.
- Link to v2: https://lore.kernel.org/r/[email protected]

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/[email protected]

---
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 | 101 +++++++++++++++++++++++-----------------
 1 file changed, 57 insertions(+), 44 deletions(-)

---
base-commit: b179ce312bafcb8c68dc718e015aee79b7939ff0
change-id: 20251107-nor-84fe07ec3363

Best regards,

Signature · 1 line
Haibo Chen <[email protected]>