* [PATCH] iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L
@ 2022-04-06 7:03 Lad Prabhakar
2022-04-10 16:47 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Lad Prabhakar @ 2022-04-06 7:03 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, linux-iio, linux-kernel
Cc: linux-renesas-soc, Prabhakar, Biju Das, Lad Prabhakar
ADC block is common on Renesas RZ/G2L and RZ/V2L SoC's, so instead of
adding dependency for each SoC's add dependency on ARCH_RZG2L. The
ARCH_RZG2L config option is already selected by ARCH_R9A07G044 and
ARCH_R9A07G054.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
drivers/iio/adc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 71ab0a06aa82..48ace7412874 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -910,7 +910,7 @@ config ROCKCHIP_SARADC
config RZG2L_ADC
tristate "Renesas RZ/G2L ADC driver"
- depends on ARCH_R9A07G044 || COMPILE_TEST
+ depends on ARCH_RZG2L || COMPILE_TEST
help
Say yes here to build support for the ADC found in Renesas
RZ/G2L family.
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L
2022-04-06 7:03 [PATCH] iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L Lad Prabhakar
@ 2022-04-10 16:47 ` Jonathan Cameron
2022-04-11 14:40 ` Geert Uytterhoeven
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Cameron @ 2022-04-10 16:47 UTC (permalink / raw)
To: Lad Prabhakar
Cc: Lars-Peter Clausen, linux-iio, linux-kernel, linux-renesas-soc,
Prabhakar, Biju Das
On Wed, 6 Apr 2022 08:03:15 +0100
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> ADC block is common on Renesas RZ/G2L and RZ/V2L SoC's, so instead of
> adding dependency for each SoC's add dependency on ARCH_RZG2L. The
> ARCH_RZG2L config option is already selected by ARCH_R9A07G044 and
> ARCH_R9A07G054.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Sounds like a fix?
If so, please supply a Fixes tag.
no need to resend, just reply with one to this email.
thanks,
Jonathan
> ---
> drivers/iio/adc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 71ab0a06aa82..48ace7412874 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -910,7 +910,7 @@ config ROCKCHIP_SARADC
>
> config RZG2L_ADC
> tristate "Renesas RZ/G2L ADC driver"
> - depends on ARCH_R9A07G044 || COMPILE_TEST
> + depends on ARCH_RZG2L || COMPILE_TEST
> help
> Say yes here to build support for the ADC found in Renesas
> RZ/G2L family.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L
2022-04-10 16:47 ` Jonathan Cameron
@ 2022-04-11 14:40 ` Geert Uytterhoeven
2022-04-16 11:23 ` Jonathan Cameron
0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2022-04-11 14:40 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Lad Prabhakar, Lars-Peter Clausen, linux-iio,
Linux Kernel Mailing List, Linux-Renesas, Prabhakar, Biju Das
Hi Jonathan,
On Sun, Apr 10, 2022 at 7:52 PM Jonathan Cameron <jic23@kernel.org> wrote:
> On Wed, 6 Apr 2022 08:03:15 +0100
> Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
>
> > ADC block is common on Renesas RZ/G2L and RZ/V2L SoC's, so instead of
> > adding dependency for each SoC's add dependency on ARCH_RZG2L. The
> > ARCH_RZG2L config option is already selected by ARCH_R9A07G044 and
> > ARCH_R9A07G054.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Sounds like a fix?
>
> If so, please supply a Fixes tag.
> no need to resend, just reply with one to this email.
This is not really a fix, as the original dependency was correct at
that time.
This is a change to add support for the RZ/V2L (r9a07g054) SoC, and
avoiding the need to update the dependencies when support is added
for more SoCs of the RZ/G2L family later.
> > --- a/drivers/iio/adc/Kconfig
> > +++ b/drivers/iio/adc/Kconfig
> > @@ -910,7 +910,7 @@ config ROCKCHIP_SARADC
> >
> > config RZG2L_ADC
> > tristate "Renesas RZ/G2L ADC driver"
> > - depends on ARCH_R9A07G044 || COMPILE_TEST
> > + depends on ARCH_RZG2L || COMPILE_TEST
> > help
> > Say yes here to build support for the ADC found in Renesas
> > RZ/G2L family.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L
2022-04-11 14:40 ` Geert Uytterhoeven
@ 2022-04-16 11:23 ` Jonathan Cameron
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Cameron @ 2022-04-16 11:23 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Lad Prabhakar, Lars-Peter Clausen, linux-iio,
Linux Kernel Mailing List, Linux-Renesas, Prabhakar, Biju Das
On Mon, 11 Apr 2022 16:40:20 +0200
Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> Hi Jonathan,
>
> On Sun, Apr 10, 2022 at 7:52 PM Jonathan Cameron <jic23@kernel.org> wrote:
> > On Wed, 6 Apr 2022 08:03:15 +0100
> > Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> >
> > > ADC block is common on Renesas RZ/G2L and RZ/V2L SoC's, so instead of
> > > adding dependency for each SoC's add dependency on ARCH_RZG2L. The
> > > ARCH_RZG2L config option is already selected by ARCH_R9A07G044 and
> > > ARCH_R9A07G054.
> > >
> > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Applied. Thanks,
Jonathan
>
> > Sounds like a fix?
> >
> > If so, please supply a Fixes tag.
> > no need to resend, just reply with one to this email.
>
> This is not really a fix, as the original dependency was correct at
> that time.
> This is a change to add support for the RZ/V2L (r9a07g054) SoC, and
> avoiding the need to update the dependencies when support is added
> for more SoCs of the RZ/G2L family later.
>
> > > --- a/drivers/iio/adc/Kconfig
> > > +++ b/drivers/iio/adc/Kconfig
> > > @@ -910,7 +910,7 @@ config ROCKCHIP_SARADC
> > >
> > > config RZG2L_ADC
> > > tristate "Renesas RZ/G2L ADC driver"
> > > - depends on ARCH_R9A07G044 || COMPILE_TEST
> > > + depends on ARCH_RZG2L || COMPILE_TEST
> > > help
> > > Say yes here to build support for the ADC found in Renesas
> > > RZ/G2L family.
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-16 11:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 7:03 [PATCH] iio: adc: Kconfig: Make RZG2L_ADC depend on ARCH_RZG2L Lad Prabhakar
2022-04-10 16:47 ` Jonathan Cameron
2022-04-11 14:40 ` Geert Uytterhoeven
2022-04-16 11:23 ` 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).