Devicetree
 help / color / mirror / Atom feed
* [PATCH v2 0/2] spi: airoha: add AN7589 support
@ 2026-12-04 18:58 John Crispin
  2026-12-04 18:58 ` [PATCH v2 1/2] spi: dt-bindings: airoha: add AN7589 John Crispin
  2026-12-04 18:58 ` [PATCH v2 2/2] spi: airoha: add support for AN7589 John Crispin
  0 siblings, 2 replies; 3+ messages in thread
From: John Crispin @ 2026-12-04 18:58 UTC (permalink / raw)
  To: Lorenzo Bianconi, Ray Liu, Mark Brown, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Christian Marangi, devicetree, lei.dong, Linqi.zhang,
	linux-arm-kernel, linux-kernel, linux-spi, Rajeev.kumar, upstream,
	Weifeng.xu, zhengping.zhang

The Airoha AN7589 carries the SPI-NAND controller of the EN7581. The
one difference is the DMA address: the AN7589 takes 36 bits, with the
upper 4 bits in a second register.

Patch 1 adds the compatible, with airoha,en7581-snand as the fallback.
Patch 2 adds match data with the width of the DMA address, sets a 36
bit DMA mask on the AN7589 and writes the upper address bits there.

The series applies to next-20261201 and has no dependencies.

Changes in v2:
- Patch 1: use the subject prefix of the subsystem (Mark).
- Patch 1: add the Acked-by of Krzysztof.
- Patch 2: fail the probe when there is no match data (Mark).
- Link to v1: https://lore.kernel.org/r/20261202180735.3591430-1-john@phrozen.org

John Crispin (2):
  spi: dt-bindings: airoha: add AN7589
  spi: airoha: add support for AN7589

 .../bindings/spi/airoha,en7581-snand.yaml     |  1 +
 drivers/spi/spi-airoha-snfi.c                 | 53 ++++++++++++++++---
 2 files changed, 46 insertions(+), 8 deletions(-)


base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c
-- 
2.34.1


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

end of thread, other threads:[~2026-12-04 18:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 18:58 [PATCH v2 0/2] spi: airoha: add AN7589 support John Crispin
2026-12-04 18:58 ` [PATCH v2 1/2] spi: dt-bindings: airoha: add AN7589 John Crispin
2026-12-04 18:58 ` [PATCH v2 2/2] spi: airoha: add support for AN7589 John Crispin

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