U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ssunk <ssunkkan@gmail.com>
To: u-boot@lists.u-boot-project.org
Cc: vigneshr@ti.com, takahiro.kuwano@infineon.com,
	trini@konsulko.com, Jacky_guo@xmcwh.com, hs@nabladev.com,
	Ssunk <ssunkkan@gmail.com>
Subject: [PATCH v3] mtd: spi-nor: Add support for XMC XM25QU01D
Date: Wed, 25 Nov 2026 19:23:20 +0800	[thread overview]
Message-ID: <20261125112320.1912-1-ssunkkan@gmail.com> (raw)
In-Reply-To: <20261124114629.369-1-ssunkkan@gmail.com>

Add support for XMC XM25QU01D SPI NOR flash.

Link: https://www.xmcwh.com/uploads/974/XM25QU01D_Ver1.0.pdf
Signed-off-by: Ssunk <ssunkkan@gmail.com>
Reviewed-by: Heiko Schocher <hs@nabladev.com>
---

Notes (patch-v3):
    Changes in v3:
    - Rebase onto the next branch.
    - Move the flash entry to xmc.c following the SPI NOR
      manufacturer driver refactoring.
    - Update the patch subject accordingly.
    
    Changes in v2:
    - Use the Link: tag instead of Datasheet:.
    - Add Reviewed-by from Heiko Schocher.
    
    Quad mode, including 4-byte Quad Page Program (34h), has been
    tested successfully on hardware. The updated datasheet provided
    by XMC confirms support for command 34h and will be made
    available on their website in a future update.

 drivers/mtd/spi/xmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi/xmc.c b/drivers/mtd/spi/xmc.c
index dbf11a4c5d3..e060a533112 100644
--- a/drivers/mtd/spi/xmc.c
+++ b/drivers/mtd/spi/xmc.c
@@ -19,6 +19,7 @@ static const struct flash_info xmc_nor_parts[] = {
 	{ INFO("XM25QH512D", 0x204020, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QU512C", 0x204120, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 	{ INFO("XM25QH01D", 0x204021, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
+	{ INFO("XM25QU01D", 0x204121, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
 };
 
 const struct spi_nor_manufacturer spi_nor_xmc = {
-- 
2.55.0.windows.4


      parent reply	other threads:[~2026-11-25 13:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-01 13:12 [PATCH] mtd: spi: spi-nor-ids: Add support for XMC XM25QU01D Ssunk
2026-11-02  4:34 ` Heiko Schocher
2026-11-02  9:33 ` Takahiro.Kuwano
2026-11-24 11:33   ` Ssunk
2026-11-24 11:46 ` [PATCH v2] " Ssunk
2026-11-24 19:06   ` Tom Rini
2026-11-25 11:23   ` Ssunk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125112320.1912-1-ssunkkan@gmail.com \
    --to=ssunkkan@gmail.com \
    --cc=Jacky_guo@xmcwh.com \
    --cc=hs@nabladev.com \
    --cc=takahiro.kuwano@infineon.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox