linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: adc: xilinx: support all platforms
@ 2019-06-10 16:23 Robert Hancock
  2019-06-11  6:28 ` Ardelean, Alexandru
  2019-06-16 15:20 ` Jonathan Cameron
  0 siblings, 2 replies; 5+ messages in thread
From: Robert Hancock @ 2019-06-10 16:23 UTC (permalink / raw)
  To: linux-iio
  Cc: jic23, ardeleanalex, michal.simek, knaack.h, pmeerw, lars,
	Robert Hancock

Since the XADC logic can be used with standalone Xilinx FPGAs, this
driver can potentially be used with many different platforms, not just
the Zynq and MicroBlaze platforms this driver was allowed to be built
for. There should be no platform-specific code in this driver, so just
delete the platform dependency.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
---

This is an updated version of an earlier patch "iio: adc: xilinx: support all
ARM platforms", but this one just deletes the platform restriction entirely
as it seems unnecessary.

 drivers/iio/adc/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index f96a770..7e32862 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1085,7 +1085,6 @@ config VIPERBOARD_ADC
 
 config XILINX_XADC
 	tristate "Xilinx XADC driver"
-	depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
 	depends on HAS_IOMEM
 	select IIO_BUFFER
 	select IIO_TRIGGERED_BUFFER
-- 
1.8.3.1


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

end of thread, other threads:[~2019-06-16 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10 16:23 [PATCH] iio: adc: xilinx: support all platforms Robert Hancock
2019-06-11  6:28 ` Ardelean, Alexandru
2019-06-11  6:52   ` Lars-Peter Clausen
2019-06-11  6:57     ` Ardelean, Alexandru
2019-06-16 15:20 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).