[PATCH] ARM: shmobile: Kconfig: Drop selecting SOC_BUS

Geert Uytterhoeven geert at linux-m68k.org
Mon Sep 19 02:49:40 PDT 2022


Hi Prabhakar,

On Mon, Sep 19, 2022 at 11:46 AM Lad, Prabhakar
<prabhakar.csengg at gmail.com> wrote:
> On Sun, Sep 18, 2022 at 10:32 AM Geert Uytterhoeven
> <geert at linux-m68k.org> wrote:
> > On Fri, Sep 16, 2022 at 1:39 AM Prabhakar <prabhakar.csengg at gmail.com> wrote:
> > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
> > >
> > > Don't automatically select the SOC_BUS config option as we already have
> > > automatically selected it as part of the SOC_RENESAS config option [0]
> > > as renesas-soc.c [1] uses the APIs provided by SOC_BUS config option.
> > >
> > > [0] drivers/soc/renesas/Kconfig
> > > [1] drivers/soc/renesas/renesas-soc.c
> > >
> > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
> >
> > Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>
> > i.e. will queue in renesas-devel for v6.1.
> >
> > > --- a/arch/arm/mach-shmobile/Kconfig
> > > +++ b/arch/arm/mach-shmobile/Kconfig
> > > @@ -6,5 +6,4 @@ menuconfig ARCH_RENESAS
> > >         select GPIOLIB
> > >         select NO_IOPORT_MAP
> > >         select PINCTRL
> > > -       select SOC_BUS
> > >         select ZONE_DMA if ARM_LPAE
> >
> > Nice catch!
> > I guess it would make sense to move the GPIOLIB and PINCTRL selects
> > to drivers/soc/renesas/Kconfig, too, as they are needed for all
> > (arm32/arm64/riscv) Renesas SoCs?
> >
> Agreed, shall I move them under SOC_RENESAS?

That's the place I had in mind ;-)

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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



More information about the linux-arm-kernel mailing list