[RFC PATCH v4 0/5] HID: spi-hid: add quad-SPI support for Romulus13

From: Jizhou Tong

Date: Mon Nov 30 2026 - 23:09:08 EST


Hi Jingyuan, Dale,

This updates the quad-SPI RFC on top of for-7.5/spi-hid at b0515d0016cb
and the two reset-GPIO fixes [2]. Patch 1 now reserves the full five-byte
read approval before RX, rounded to ARCH_DMA_MINALIGN. It uses the same
offset for the allocation and the bounds check.

This fixes the TX/RX overlap reported by Sashiko [1] when DMA alignment
is two or four. Eight through 256 byte alignments, including the SL7's
128-byte layout, retain their previous layout. Patches 2-5 carry the same
changes as v3, adjusted for the corrected allocation context. Patch 4
carries Conor Dooley's Ack for the binding.

Validation: W=1 ARM64 core/ACPI/OF module build; actual allocator and
single-lane/quad transport tests under ASan/UBSan at alignments 2, 4, 8,
16, 32, 64, 128 and 256. The v3 code fails the new small-alignment checks.
The 18 positive/negative common-binding checks also pass. The reset and
protocol code is unchanged from the previously tested version.
Hardware evidence remains the tested downstream SL7 stack with the
separate GENI/GPI controller and board changes; no new hardware test is
claimed for this reroll.

[1] https://lore.kernel.org/all/sashiko-outbox-199924@xxxxxxxxxx/
[2] https://lore.kernel.org/all/010601a1ad16c6ff-c0275058-3f89-4341-81eb-ca26372f8d70-000000@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/

Jizhou Tong (5):
HID: spi-hid: isolate DMA transfers from protocol buffers
HID: spi-hid: add spi-mem quad-SPI transfers
HID: spi-hid: assemble bounded fragmented input reports
dt-bindings: input: hid-over-spi: add the Surface Laptop 7 touchpad
HID: spi-hid: support the Romulus13 QSPI touchpad

.../bindings/input/hid-over-spi.yaml | 40 ++++
drivers/hid/spi-hid/Kconfig | 2 +-
drivers/hid/spi-hid/spi-hid-acpi.c | 26 +--
drivers/hid/spi-hid/spi-hid-core.c | 184 +++++++++++++++---
drivers/hid/spi-hid/spi-hid-core.h | 8 +
drivers/hid/spi-hid/spi-hid-of.c | 44 +++--
drivers/hid/spi-hid/spi-hid.h | 8 +-
7 files changed, 250 insertions(+), 62 deletions(-)


base-commit: b0515d0016cbd3c8922e635f87178b77ba1c977c
prerequisite-patch-id: 24df0c559e4b401af9acd4bc7bad99dd4b4724d4
prerequisite-patch-id: 3163173e775b674a9f6b8b5f683e0a522e2ea4a0