From: Nuno Sa Date: Tue, 4 Jun 2024 09:19:56 +0000 (+0200) Subject: iio: dac: adi-axi-dac: add platform dependencies X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d157d0ba0213768119bacd819ec09a8a484dbc4f;p=users%2Fjedix%2Flinux-maple.git 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 Link: https://lore.kernel.org/r/20240604-dev-axi-dac-kconfig-v1-1-99ccd03938d1@analog.com Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index 3c2bf620f00fb..fb48dddbcc202 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