Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: adc: adi-axi-adc: add platform dependencies
@ 2024-06-04  9:16 Nuno Sa via B4 Relay
  2024-06-08 17:34 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Nuno Sa via B4 Relay @ 2024-06-04  9:16 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Lars-Peter Clausen

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>
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 5030319249c5..3d91015af6ea 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -353,6 +353,7 @@ config AD9467
 
 config ADI_AXI_ADC
 	tristate "Analog Devices Generic AXI ADC IP core driver"
+	depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST
 	select IIO_BUFFER
 	select IIO_BUFFER_HW_CONSUMER
 	select IIO_BUFFER_DMAENGINE

---
base-commit: b3019fcdeb286b2cfe45e44bccb44dbcd8ff66dd
change-id: 20240604-dev-axi-adc-kconfig-1058732cb384
--

Thanks!
- Nuno Sá



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: adc: adi-axi-adc: add platform dependencies
  2024-06-04  9:16 [PATCH] iio: adc: adi-axi-adc: add platform dependencies Nuno Sa via B4 Relay
@ 2024-06-08 17:34 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2024-06-08 17:34 UTC (permalink / raw)
  To: Nuno Sa via B4 Relay; +Cc: nuno.sa, linux-iio, Lars-Peter Clausen

On Tue, 04 Jun 2024 11:16:58 +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.
People build kernels without COMPILE_TEST?  Weird :)

Applied

> 
> Signed-off-by: Nuno Sa <nuno.sa@analog.com>
> ---
>  drivers/iio/adc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 5030319249c5..3d91015af6ea 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -353,6 +353,7 @@ config AD9467
>  
>  config ADI_AXI_ADC
>  	tristate "Analog Devices Generic AXI ADC IP core driver"
> +	depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST
>  	select IIO_BUFFER
>  	select IIO_BUFFER_HW_CONSUMER
>  	select IIO_BUFFER_DMAENGINE
> 
> ---
> base-commit: b3019fcdeb286b2cfe45e44bccb44dbcd8ff66dd
> change-id: 20240604-dev-axi-adc-kconfig-1058732cb384
> --
> 
> Thanks!
> - Nuno Sá
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-08 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04  9:16 [PATCH] iio: adc: adi-axi-adc: add platform dependencies Nuno Sa via B4 Relay
2024-06-08 17:34 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox