]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7380: add support for multiple SPI lanes
authorDavid Lechner <dlechner@baylibre.com>
Fri, 23 Jan 2026 20:37:32 +0000 (14:37 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 23 Feb 2026 08:24:23 +0000 (08:24 +0000)
commit196c9df178652732ceab85b743997a4ab9e8cc82
tree52c2c0a37fdeb557bfa534a53846456e852638c1
parent63670c90f02b3732c49c2b1fee8f5dffd2dc8eb7
iio: adc: ad7380: add support for multiple SPI lanes

Add support for multiple SPI lanes to increase throughput. The AD7380
family of ADCs have multiple SDO lines on the chip that can be used to
read each channel on a separate SPI lane. If wired up to a SPI
controller that supports it, the driver will now take advantage of this
feature. This allows reaching the maximum sample rate advertised in the
datasheet when combined with SPI offloading.

Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7380.c