Message ID | 20220915233852.415407-1-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | c2ce1e734282662c0b3117e4f26b831d30370bcb |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | ARM: shmobile: Kconfig: Drop selecting SOC_BUS | expand |
Hi Prabhakar, On Fri, Sep 16, 2022 at 1:39 AM Prabhakar <prabhakar.csengg@gmail.com> wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@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? 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
Hi Geert, Thank you for the review. On Sun, Sep 18, 2022 at 10:32 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > On Fri, Sep 16, 2022 at 1:39 AM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@bp.renesas.com> > > Reviewed-by: Geert Uytterhoeven <geert+renesas@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? Cheers, Prabhakar
Hi Prabhakar, On Mon, Sep 19, 2022 at 11:46 AM Lad, Prabhakar <prabhakar.csengg@gmail.com> wrote: > On Sun, Sep 18, 2022 at 10:32 AM Geert Uytterhoeven > <geert@linux-m68k.org> wrote: > > On Fri, Sep 16, 2022 at 1:39 AM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@bp.renesas.com> > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@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@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
Hi Geert, On Mon, Sep 19, 2022 at 10:49 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > On Mon, Sep 19, 2022 at 11:46 AM Lad, Prabhakar > <prabhakar.csengg@gmail.com> wrote: > > On Sun, Sep 18, 2022 at 10:32 AM Geert Uytterhoeven > > <geert@linux-m68k.org> wrote: > > > On Fri, Sep 16, 2022 at 1:39 AM Prabhakar <prabhakar.csengg@gmail.com> wrote: > > > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@bp.renesas.com> > > > > > > Reviewed-by: Geert Uytterhoeven <geert+renesas@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 ;-) > Done, I have sent it out. Cheers, Prabhakar
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 50909c4b95b2..37f862f13c8d 100644 --- 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