Message ID | 20240604-dev-axi-dac-kconfig-v1-1-99ccd03938d1@analog.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: dac: adi-axi-dac: add platform dependencies | expand |
On Tue, 04 Jun 2024 11:19:56 +0200 Nuno Sa via B4 Relay <devnull+nuno.sa.analog.com@kernel.org> wrote: > From: Nuno Sa <nuno.sa@analog.com> > > 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> Applied > --- > drivers/iio/dac/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig > index ee0d9798d8b44..a2596c2d3de31 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 > > --- > base-commit: b3019fcdeb286b2cfe45e44bccb44dbcd8ff66dd > change-id: 20240604-dev-axi-dac-kconfig-a74d4652ebd6 > -- > > Thanks! > - Nuno Sá > >
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index ee0d9798d8b44..a2596c2d3de31 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