Re: [PATCH v7 0/3] rust: spi: add SPI driver abstractions

From: Mark Brown

Date: Fri Nov 13 2026 - 08:59:00 EST


On Fri, Nov 13, 2026 at 10:05:28AM +0800, Shuai Liu wrote:
> Rework the device I/O to map onto the lower-level C APIs, as suggested
> by Mark Brown [1]: instead of leveraging the C convenience wrappers
> (spi_write(), spi_read() and spi_write_then_read()), all device I/O is
> now built on a single `SpiDevice::transfer()` primitive that maps onto
> spi_sync(). The convenience methods `write()`, `read()` and
> `write_then_read()` remain as thin wrappers on top of `transfer()`.

This doesn't apply against current code, please check and resend.

Attachment: signature.asc
Description: PGP signature