summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/stm32-adc.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2021-10-21 14:59:50 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-11-17 17:51:32 +0000
commitfb45c7a31ec1f772502867ea87a2315b57a9f439 (patch)
treebeca62e6006df4a51414bb410480d53c3d84f507 /drivers/iio/adc/stm32-adc.c
parente12653eb77b90fc33ff3e0b9caf21b02b026f552 (diff)
iio: xilinx-xadc: Make IRQ optional
In some setups the IRQ signal of the XADC might not be wired to the host system. The driver currently requires that an interrupt is specified. Make the interrupt optional so the driver can be used in such setups where the interrupt is not connected. Since both the internal triggers as well as events depend on the interrupt being connected both are not available when the interrupt is not connected. Buffered access is still supported even without an interrupt since an external trigger can be used. The IRQ is only optional when using the AXI interface, since the PCAP interface needs the IRQ for reading and writing registers. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20211021125950.28707-1-lars@metafoo.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/stm32-adc.c')
0 files changed, 0 insertions, 0 deletions