iio: dac: ad3552r: add high-speed platform driver
authorAngelo Dureghello <adureghello@baylibre.com>
Mon, 28 Oct 2024 21:45:34 +0000 (22:45 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 3 Nov 2024 20:33:32 +0000 (20:33 +0000)
commit0b4d9fe58be8260819c453fb4717f23bdafd3ba3
tree194e793dd3b7fad8001bea27dc267e54749fad0b
parentf665d7d33d7909cf51e2db0f0767ecab0295c0bd
iio: dac: ad3552r: add high-speed platform driver

Add High Speed ad3552r platform driver.

The ad3552r DAC is controlled by a custom (fpga-based) DAC IP
through the current AXI backend, or similar alternative IIO backend.

Compared to the existing driver (ad3552r.c), that is a simple SPI
driver, this driver is coupled with a DAC IIO backend that finally
controls the ad3552r by a fpga-based "QSPI+DDR" interface, to reach
maximum transfer rate of 33MUPS using dma stream capabilities.

All commands involving QSPI bus read/write are delegated to the backend
through the provided APIs for bus read/write.

Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241028-wip-bl-ad3552r-axi-v0-iio-testing-v9-7-f6960b4f9719@kernel-space.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/Kconfig
drivers/iio/dac/Makefile
drivers/iio/dac/ad3552r-hs.c [new file with mode: 0644]
drivers/iio/dac/ad3552r-hs.h [new file with mode: 0644]
drivers/iio/dac/ad3552r.h