summaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-sw-device.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2020-03-24 16:46:33 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 18:56:22 +0300
commitef04070692a21633ec6a60f80c19b6af44b3cf47 (patch)
tree08a8af4110d244b4bb95fa216224df7bc6659326 /drivers/iio/industrialio-sw-device.c
parente0fcca9fbd99e959855aa1d66c125d696f969e68 (diff)
downloadlinux-ef04070692a21633ec6a60f80c19b6af44b3cf47.tar.xz
iio: adc: adi-axi-adc: add support for AXI ADC IP core
This change adds support for the Analog Devices Generic AXI ADC IP core. The IP core is used for interfacing with analog-to-digital (ADC) converters that require either a high-speed serial interface (JESD204B/C) or a source synchronous parallel interface (LVDS/CMOS). Usually, some other interface type (i.e SPI) is used as a control interface for the actual ADC, while the IP core (controlled via this driver), will interface to the data-lines of the ADC and handle the streaming of data into memory via DMA. Because of this, the AXI ADC driver needs the other SPI-ADC driver to register with it. The SPI-ADC needs to be register via the SPI framework, while the AXI ADC registers as a platform driver. The two cannot be ordered in a hierarchy as both drivers have their own registers, and trying to organize this [in a hierarchy becomes] problematic when trying to map memory/registers. There are some modes where the AXI ADC can operate as standalone ADC, but those will be implemented at a later point in time. DocLink: https://wiki.analog.com/resources/fpga/docs/axi_adc_ip Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/industrialio-sw-device.c')
0 files changed, 0 insertions, 0 deletions