mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/2] spi: realtek: Add support for RTD1625 SPI NOR Flash Controller
@ 2026-09-09 12:56 Yu-Chun Lin
  2026-09-09 12:57 ` [PATCH v4 1/2] dt-bindings: spi: Add Realtek RTD1625 SPI NOR support Yu-Chun Lin
  2026-09-09 12:57 ` [PATCH v4 2/2] spi: spi-mem: Add Realtek SPI NOR flash controller driver Yu-Chun Lin
  0 siblings, 2 replies; 5+ messages in thread
From: Yu-Chun Lin @ 2026-09-09 12:56 UTC (permalink / raw)
  To: broonie, robh, krzk+dt, conor+dt
  Cc: p.zabel, james.tai, cy.huang, stanley_chang, eleanor.lin,
	jyanchou, linux-spi, devicetree, linux-kernel

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@realtek.com/
v2: https://lore.kernel.org/lkml/20260906145755.1230079-1-eleanor.lin@realtek.com/
v1: https://lore.kernel.org/lkml/20260904031252.244280-1-eleanor.lin@realtek.com/

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-10  9:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-09 12:56 [PATCH v4 0/2] spi: realtek: Add support for RTD1625 SPI NOR Flash Controller Yu-Chun Lin
2026-09-09 12:57 ` [PATCH v4 1/2] dt-bindings: spi: Add Realtek RTD1625 SPI NOR support Yu-Chun Lin
2026-09-09 12:57 ` [PATCH v4 2/2] spi: spi-mem: Add Realtek SPI NOR flash controller driver Yu-Chun Lin
2026-09-09 13:54   ` Philipp Zabel
2026-09-10  9:11     ` Yu-Chun Lin [林祐君]

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®