[PATCH v2 10/19] pinctrl: renesas: Add RZ/G2L PFC driver
Marek Vasut
marek.vasut at mailbox.org
Sat Oct 14 22:03:25 CEST 2023
On 10/9/23 18:46, Paul Barker wrote:
> This driver provides pinctrl and gpio control for the Renesas RZ/G2L
> (R9A07G044) SoC.
>
> This patch is based on the corresponding Linux v6.5 driver.
>
> Signed-off-by: Paul Barker <paul.barker.ct at bp.renesas.com>
> Reviewed-by: Biju Das <biju.das.jz at bp.renesas.com>
> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
> ---
> v1->v2:
> * Split GPIO into separate file.
> * Drop unnecessary parenthesis in defines.
> * Keep Kconfig list sorted.
> * Drop pfc_enabled flag.
> * Use const where possible.
> * Use clrbits/setbits/clrsetbits functions.
> * Return -ENOENT to skip invalid GPIO offsets.
> * Include ofnode_parse_phandle_with_args() return code in err print.
> * Use macro instal of port + 0x10.
> * Add TODO comment re Ethernet PIN_CFG.
>
> arch/arm/mach-rmobile/Kconfig | 2 +
> drivers/gpio/Kconfig | 7 +
> drivers/gpio/Makefile | 1 +
> drivers/gpio/rzg2l-gpio.c | 170 ++++++++
This GPIO and pinctrl driver addition should be two patches, really.
> drivers/pinctrl/renesas/Kconfig | 10 +
> drivers/pinctrl/renesas/Makefile | 1 +
> drivers/pinctrl/renesas/rzg2l-pfc.c | 625 ++++++++++++++++++++++++++++
> include/renesas/rzg2l-pfc.h | 110 +++++
> 8 files changed, 926 insertions(+)
> create mode 100644 drivers/gpio/rzg2l-gpio.c
> create mode 100644 drivers/pinctrl/renesas/rzg2l-pfc.c
> create mode 100644 include/renesas/rzg2l-pfc.h
Otherwise
Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
More information about the U-Boot
mailing list