[PATCH v4 0/2] spi: realtek: Add support for RTD1625 SPI NOR Flash Controller
From: Yu-Chun Lin
Date: Wed Sep 09 2026 - 09:23:17 EST
Hi all,
This patch series introduces support for the Realtek RTD1625 SPI NOR Flash
controller.
Thansk,
Yu-Chun
---
Changes since v2:
General:
- Specify "NOR" in the commit message and descriptions to avoid future
conflicts with SPI NAND or GSPI.
Patch 1:
- Add Conor's acked-by tag.
Patch 2:
- Add Yu-Chun's last name.
- Make SPDX license and copyright notice headers in C++-style.
- Drop driver-internal polling (rtk_spi_read_status()), leaving the status
polling and timeout handling to framework.
- Track the 4-byte addressing state and properly restore it in rtk_spi_init()
to prevent state loss during runtime PM suspend/resume.
- Add hardware cleanup in rtk_spi_dma_transfer() to explicitly trigger a
graceful stop of the DMA engine if a timeout occurs.
- Check bounds against the direct mapping window (dirmap_size) in both PIO and
DMA transfer paths.
- Add reset_control_assert() in the probe error path and .remove().
- Replace RUNTIME_PM_OPS() + SYSTEM_SLEEP_PM_OPS() with
DEFINE_RUNTIME_DEV_PM_OPS().
v3: https://lore.kernel.org/lkml/20260908111640.2032749-1-eleanor.lin@xxxxxxxxxxx/
v2: https://lore.kernel.org/lkml/20260906145755.1230079-1-eleanor.lin@xxxxxxxxxxx/
v1: https://lore.kernel.org/lkml/20260904031252.244280-1-eleanor.lin@xxxxxxxxxxx/
Jyan Chou (2):
dt-bindings: spi: Add Realtek RTD1625 SPI NOR support
spi: spi-mem: Add Realtek SPI NOR flash controller driver
.../bindings/spi/realtek,rtd1625-nor.yaml | 65 ++
MAINTAINERS | 6 +
drivers/spi/Kconfig | 10 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-rtk-nor.c | 623 ++++++++++++++++++
5 files changed, 705 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/realtek,rtd1625-nor.yaml
create mode 100644 drivers/spi/spi-rtk-nor.c
--
2.43.0