[PATCH v2 0/3] Add quad mode support for QPIC SNAND

From: Md Sadre Alam

Date: Fri Aug 07 2026 - 12:22:37 EST


The Qualcomm QPIC SPI-NAND controller supports both single (x1) and
quad (x4) transfer modes, however the current driver operates only in
single-bit mode. This series adds support for quad data transfers and
includes a vendor-specific fix required for Macronix SPI-NAND devices.

Signed-off-by: Md Sadre Alam <mdalam@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Removed incorrect if check
- Updated snandc->qspi->cmd with quad command for further read in quad
mode.
- Link to v1: https://lore.kernel.org/r/20260716-quad-v1-0-636f74da17e1@xxxxxxxxxxxxxxxx

---
Md Sadre Alam (3):
spi: spi-qpic-snand: move command mapping helper
spi: spi-qpic-snand: add quad mode support
spi: spi-qpic-snand: Handle Macronix quad read opcode 0x6b

drivers/spi/spi-qpic-snand.c | 155 ++++++++++++++++++++++++++++---------------
1 file changed, 103 insertions(+), 52 deletions(-)
---
base-commit: d56fa0b2bd2d9b2fddc10e8f5bdd42d56676935c
change-id: 20260716-quad-ec2765317214

Best regards,
--
Md Sadre Alam <md.alam@xxxxxxxxxxxxxxxx>