]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7173: add SPI offload support
authorDavid Lechner <dlechner@baylibre.com>
Thu, 10 Jul 2025 22:22:00 +0000 (17:22 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 16 Aug 2025 10:57:06 +0000 (11:57 +0100)
commit329cb8be151948d3462a99f204725dcbdeb61623
tree29d99c9227b3084c614d9a4b0cfae844274eb40f
parent9ae68c9bb12a3a6cc7df59f9ee3ff5879d97cda9
iio: adc: ad7173: add SPI offload support

Enable SPI offload support for the AD7173 ADC driver.

The scan_type used for SPI offload is assuming that we are using the
ad411x_ad717x HDL project [1] which always stores data words in 32-bits.

Link: https://analogdevicesinc.github.io/hdl/projects/ad411x_ad717x/index.html
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250710-iio-adc-ad7173-add-spi-offload-support-v4-1-536857c4e043@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7173.c