diff options
author | Nuno Sa <nuno.sa@analog.com> | 2024-06-04 11:19:56 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-13 19:19:25 +0100 |
commit | d157d0ba0213768119bacd819ec09a8a484dbc4f (patch) | |
tree | d2392e63736c08e7af6512b72f879be4854ca7b7 | |
parent | 9fae1f2aa41963faae96e03175c7684522246ab5 (diff) | |
download | linux-d157d0ba0213768119bacd819ec09a8a484dbc4f.tar.gz linux-d157d0ba0213768119bacd819ec09a8a484dbc4f.tar.bz2 linux-d157d0ba0213768119bacd819ec09a8a484dbc4f.zip |
iio: dac: adi-axi-dac: add platform dependencies
Being this device a soft core, it's only supported on some/specific
platforms. Hence add proper dependencies for the supported platforms.
Also add COMPILE_TEST to increase the build coverage.
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240604-dev-axi-dac-kconfig-v1-1-99ccd03938d1@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | drivers/iio/dac/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index 3c2bf620f00f..fb48dddbcc20 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -149,6 +149,7 @@ config AD9739A config ADI_AXI_DAC tristate "Analog Devices Generic AXI DAC IP core driver" + depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST select IIO_BUFFER select IIO_BUFFER_DMAENGINE select REGMAP_MMIO |