]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: add multi_lane_mode field to struct spi_transfer
authorDavid Lechner <dlechner@baylibre.com>
Fri, 23 Jan 2026 20:37:27 +0000 (14:37 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 2 Feb 2026 12:12:44 +0000 (12:12 +0000)
commit5621a7bc851658ea2f8e015060f8bb5d27739b06
tree21f0e922575ce5abb424efa288edfdd7ed5e8bca
parent002d561f89c3a61ee17d38070e48ea4eb1243732
spi: add multi_lane_mode field to struct spi_transfer

Add a new multi_lane_mode field to struct spi_transfer to allow
peripherals that support multiple SPI lanes to be used with a single
SPI controller.

This requires both the peripheral and the controller to have multiple
serializers connected to separate data lanes. It could also be used with
a single controller and multiple peripherals that are functioning as a
single logical device (similar to parallel memories).

Acked-by: Nuno Sá <nuno.sa@analog.com>
Acked-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20260123-spi-add-multi-bus-support-v6-4-12af183c06eb@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi.h