[PATCH v2 0/2] spi: airoha: add AN7589 support
From: John Crispin
Date: Fri Dec 04 2026 - 13:58:46 EST
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@xxxxxxxxxxx
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