RE: [PATCH v2 00/10] Add Renesas RZ/G3L PINCONTROL support

From: Biju Das

Date: Tue Mar 17 2026 - 03:18:28 EST


Hi All,

> -----Original Message-----
> From: Biju <biju.das.au@xxxxxxxxx>
> Sent: 03 February 2026 13:10
> Subject: [PATCH v2 00/10] Add Renesas RZ/G3L PINCONTROL support
>
> From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
>
> Hi All,
>
> This patch series aims to add basic pincontrol support for RZ/G3L SoC. The RZ/G3L pinctrl has
> OTHER_POC register compared to other SoCs for setting IO domain volage for AWO, ISO and WDT.
>
> Document the reset-names as all SOCs has multiple resets.
>
> Document the bindings for RZ/G3L SOC and add pinctrl definitions in driver.
>
> Add pincontrol device node and add pincontrol support for SCIF0 and GBETH nodes.
>
> Note:
> Some IPs needs to set the register IPCONT_SEL_CLONECH in SYSC to control the clone channel of the IP.
> Plan to add clone channel control support later. The IP's involing clone channel needs to do the setup
> as per the below flow
>
> (1) Set SYS_IPCONT_SEL_CLONECH register as necessary
> (2) Set the PWPR register to allow writing to the PFC_m register.
> After setting the PWPR.B0WI bit to “0” (initial value = 1),
> set the PWPR.PFCWE bit to “1” (initial value = 0).
> Select the required function from Functions 0-15.
> (Hereafter, Function1 setting example)
> (3) Set PFC_m = 0001b and switch to Function1.
> (4) Set the PMC_m register to “1” (initial value = 0).
> (5) Set the PFC_m register to write-protected. After setting
> the PWPR.PFCWE bit to “0”, set the PWPR.B0WI bit to “1”.
>
> The clock patches depend upon [1]
> The dtsi/dts patches depend upon [2]
> [1] https://lore.kernel.org/all/20260203110220.265748-1-biju.das.jz@xxxxxxxxxxxxxx/
> [2] https://lore.kernel.org/all/20260203123503.314755-1-biju.das.jz@xxxxxxxxxxxxxx/


I have added more peripheral support and during testing found some bugs in this series.
I will send new series. Please let me know if you think otherwise

I have added clone support in new series and tested all clone channels
Populated on RZ/G3L SMARC EVK (RSPI, RSCI and I2C).

Cheers,
Biju

>
> v1->v2:
> * Split DTSI patches from bindings
> * Fix typo maxItems->minItems in bindings
> * Collected the tag
>
> Biju Das (10):
> dt-bindings: pinctrl: renesas: Document reset-names
> dt-bindings: pinctrl: renesas: Document RZ/G3L SoC
> clk: renesas: r9a08g046: Add GPIO clocks/resets
> pinctrl: renesas: rzg2l: Add support for selecting power source for
> {WDT,AWO,ISO}
> pinctrl: renesas: rzg2l: Add OEN support for RZ/G3L
> pinctrl: renesas: rzg2l: Add support for RZ/G3L SoC
> arm64: dts: renesas: Add reset-names for RZ/G2L and RZ/V2H family SoCs
> arm64: dts: renesas: r9a08g046: Add pincontrol node
> arm64: dts: renesas: r9a08g046l48-smarc: Add SCIF0 pincontrol
> arm64: dts: renesas: rzg3l-smarc-som: Enable eth1 (GBETH1) interface
>
> .../pinctrl/renesas,rzg2l-pinctrl.yaml | 16 +
> arch/arm64/boot/dts/renesas/r9a07g043.dtsi | 1 +
> arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 1 +
> arch/arm64/boot/dts/renesas/r9a07g054.dtsi | 1 +
> arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 1 +
> arch/arm64/boot/dts/renesas/r9a08g046.dtsi | 10 +
> .../boot/dts/renesas/r9a08g046l48-smarc.dts | 13 +
> arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 1 +
> arch/arm64/boot/dts/renesas/r9a09g056.dtsi | 1 +
> arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 1 +
> .../boot/dts/renesas/rzg3l-smarc-som.dtsi | 92 ++++++
> drivers/clk/renesas/r9a08g046-cpg.c | 6 +
> drivers/pinctrl/renesas/pinctrl-rzg2l.c | 285 +++++++++++++++++-
> .../pinctrl/renesas,r9a08g046-pinctrl.h | 39 +++
> 14 files changed, 465 insertions(+), 3 deletions(-) create mode 100644 include/dt-
> bindings/pinctrl/renesas,r9a08g046-pinctrl.h
>
> --
> 2.43.0
>