* [PATCH] iio: adc: ep93xx: Enable wider build testing with COMPILE_TEST
@ 2022-12-31 14:41 Jonathan Cameron
2023-01-04 13:47 ` Alexander Sverdlin
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2022-12-31 14:41 UTC (permalink / raw)
To: linux-iio
Cc: linux-arm-kernel, Jonathan Cameron, Alexander Sverdlin,
Hartley Sweeten
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
It is useful to be able to build this driver without needing
to build support for ARCH_EP93XX.
Also add an explicit dependency on HAS_IOMEM so we have
devm_platform_ioremap_resource() etc available.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
---
drivers/iio/adc/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 46c4fc2fc534..7d6e74189a2d 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -441,7 +441,8 @@ config ENVELOPE_DETECTOR
config EP93XX_ADC
tristate "Cirrus Logic EP93XX ADC driver"
- depends on ARCH_EP93XX
+ depends on ARCH_EP93XX || COMPILE_TEST
+ depends on HAS_IOMEM
help
Driver for the ADC module on the EP93XX series of SoC from Cirrus Logic.
It's recommended to switch on CONFIG_HIGH_RES_TIMERS option, in this
--
2.39.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: adc: ep93xx: Enable wider build testing with COMPILE_TEST
2022-12-31 14:41 [PATCH] iio: adc: ep93xx: Enable wider build testing with COMPILE_TEST Jonathan Cameron
@ 2023-01-04 13:47 ` Alexander Sverdlin
2023-01-08 12:04 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Sverdlin @ 2023-01-04 13:47 UTC (permalink / raw)
To: Jonathan Cameron, linux-iio
Cc: linux-arm-kernel, Jonathan Cameron, Hartley Sweeten
On Sat, 2022-12-31 at 14:41 +0000, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> It is useful to be able to build this driver without needing
> to build support for ARCH_EP93XX.
>
> Also add an explicit dependency on HAS_IOMEM so we have
> devm_platform_ioremap_resource() etc available.
>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> Cc: Hartley Sweeten <hsweeten@visionengravers.com>
> ---
> drivers/iio/adc/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 46c4fc2fc534..7d6e74189a2d 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -441,7 +441,8 @@ config ENVELOPE_DETECTOR
>
> config EP93XX_ADC
> tristate "Cirrus Logic EP93XX ADC driver"
> - depends on ARCH_EP93XX
> + depends on ARCH_EP93XX || COMPILE_TEST
> + depends on HAS_IOMEM
> help
> Driver for the ADC module on the EP93XX series of SoC from Cirrus Logic.
> It's recommended to switch on CONFIG_HIGH_RES_TIMERS option, in this
--
Alexander Sverdlin.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: adc: ep93xx: Enable wider build testing with COMPILE_TEST
2023-01-04 13:47 ` Alexander Sverdlin
@ 2023-01-08 12:04 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2023-01-08 12:04 UTC (permalink / raw)
To: Alexander Sverdlin
Cc: linux-iio, linux-arm-kernel, Jonathan Cameron, Hartley Sweeten
On Wed, 04 Jan 2023 14:47:02 +0100
Alexander Sverdlin <alexander.sverdlin@gmail.com> wrote:
> On Sat, 2022-12-31 at 14:41 +0000, Jonathan Cameron wrote:
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > It is useful to be able to build this driver without needing
> > to build support for ARCH_EP93XX.
> >
> > Also add an explicit dependency on HAS_IOMEM so we have
> > devm_platform_ioremap_resource() etc available.
> >
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Applied.
Thanks,
J
>
> > Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>
> > Cc: Hartley Sweeten <hsweeten@visionengravers.com>
> > ---
> > drivers/iio/adc/Kconfig | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> > index 46c4fc2fc534..7d6e74189a2d 100644
> > --- a/drivers/iio/adc/Kconfig
> > +++ b/drivers/iio/adc/Kconfig
> > @@ -441,7 +441,8 @@ config ENVELOPE_DETECTOR
> >
> > config EP93XX_ADC
> > tristate "Cirrus Logic EP93XX ADC driver"
> > - depends on ARCH_EP93XX
> > + depends on ARCH_EP93XX || COMPILE_TEST
> > + depends on HAS_IOMEM
> > help
> > Driver for the ADC module on the EP93XX series of SoC from Cirrus Logic.
> > It's recommended to switch on CONFIG_HIGH_RES_TIMERS option, in this
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-08 12:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-31 14:41 [PATCH] iio: adc: ep93xx: Enable wider build testing with COMPILE_TEST Jonathan Cameron
2023-01-04 13:47 ` Alexander Sverdlin
2023-01-08 12:04 ` 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).