[PATCH v2 3/5] pinctrl: renesas: r8a77965: Add R8A774B1 PFC support

Biju Das biju.das.jz at bp.renesas.com
Tue Oct 13 20:01:33 CEST 2020


Hi Marek,

Thanks for the feedback.

> Subject: Re: [PATCH v2 3/5] pinctrl: renesas: r8a77965: Add R8A774B1 PFC
> support
>
> On 10/13/20 10:52 AM, Biju Das wrote:
> > Renesas RZ/G2N (r8a774b1) is pin compatible with R-Car M3-N
> > (r8a77965), however it doesn't have several automotive specific
> > peripherals. Add a r8a77965 specific pin groups/functions along with
> > common pin groups/functions for supporting both r8a77965 and r8a774b1
> SoC.
>
> Would it make sense to ifdef out the R8A774B1 extras if
> CONFIG_PINCTRL_PFC_R8A774B1 is not enabled and in turn also the
> R8A77965 extras if CONFIG_PINCTRL_PFC_R8A77965 is not enabled, so the
> resulting U-Boot binary isn't bloated with the unused tables ?

By default, all IP's in R8A774B1 will be  present in R8A77965 SoC. So the extras is only for R8A77965.

Code will be much cleaner, if we maintain same structure like linux [1]. Otherwise we need to
add #ifdef CONFIG_PINCTRL_PFC_R8A77965 for the DRIF IP/.automotive all over the places in this file.
So please advise.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/pinctrl/renesas/pfc-r8a77965.c?h=next-20201013#n4705


> > This patch is ported from mainline linux-5.9-rc4.
>
> Since 5.9 is out, can you respin it on 5.9 please ?

Yes, Will do.

Regards,
Biju


Renesas Electronics Europe GmbH, Geschaeftsfuehrer/President: Carsten Jauch, Sitz der Gesellschaft/Registered office: Duesseldorf, Arcadiastrasse 10, 40472 Duesseldorf, Germany, Handelsregister/Commercial Register: Duesseldorf, HRB 3708 USt-IDNr./Tax identification no.: DE 119353406 WEEE-Reg.-Nr./WEEE reg. no.: DE 14978647


More information about the U-Boot mailing list