[PATCH v3 0/4] Add USB2.0 support for RZ/G3E

Tommaso Merciai posted 4 patches 2 weeks, 2 days ago
There is a newer version of this series
arch/arm64/boot/dts/renesas/r9a08g046.dtsi    | 142 ++++++++++++++++++
.../boot/dts/renesas/r9a08g046l48-smarc.dts   |  20 +++
arch/arm64/boot/dts/renesas/r9a09g047.dtsi    | 124 +++++++++++++++
.../boot/dts/renesas/r9a09g047e57-smarc.dts   |  45 ++++++
.../boot/dts/renesas/renesas-smarc2.dtsi      |  25 +++
5 files changed, 356 insertions(+)
[PATCH v3 0/4] Add USB2.0 support for RZ/G3E
Posted by Tommaso Merciai 2 weeks, 2 days ago
Dear All,

This patch series adds USB2.0 support for the Renesas R9A09G047 SoC and
enables it on the RZ/G3E SMARK II board.

Kind regards,
Tommaso

v2->v3:
 - No changes just rebased on top of next-20260908.

v1->v2:
 - Included PATCH v7 7/9 and PATCH v7 6/9 from
   v7: https://lore.kernel.org/all/20260812141940.246223-1-biju.das.jz@bp.renesas.com/
 - Drop placeholder patch
 - PATCH 4/4: Disabled RZ/G3L common nodes from r9a08g046l48-smarc.dts.
   Update commit body, and improved usb20_pins, usb21_pins comments.

Biju Das (2):
  arm64: dts: renesas: r9a08g046: Add USB2.0 host/phy device nodes
  arm64: dts: renesas: r9a08g046: Add USB2.0 function device nodes

Tommaso Merciai (2):
  arm64: dts: renesas: r9a09g047: Add USB2.0 support
  arm64: dts: renesas: r9a09g047e57-smarc: Enable USB2.0 support

 arch/arm64/boot/dts/renesas/r9a08g046.dtsi    | 142 ++++++++++++++++++
 .../boot/dts/renesas/r9a08g046l48-smarc.dts   |  20 +++
 arch/arm64/boot/dts/renesas/r9a09g047.dtsi    | 124 +++++++++++++++
 .../boot/dts/renesas/r9a09g047e57-smarc.dts   |  45 ++++++
 .../boot/dts/renesas/renesas-smarc2.dtsi      |  25 +++
 5 files changed, 356 insertions(+)

-- 
2.54.0
Re: [PATCH v3 0/4] Add USB2.0 support for RZ/G3E
Posted by Tommaso Merciai 4 days, 8 hours ago
Hi Geert,

On Wed, Sep 09, 2026 at 10:54:57AM +0200, Tommaso Merciai wrote:
> Dear All,
> 
> This patch series adds USB2.0 support for the Renesas R9A09G047 SoC and
> enables it on the RZ/G3E SMARK II board.
> 
> Kind regards,
> Tommaso
> 
> v2->v3:
>  - No changes just rebased on top of next-20260908.
> 
> v1->v2:
>  - Included PATCH v7 7/9 and PATCH v7 6/9 from
>    v7: https://lore.kernel.org/all/20260812141940.246223-1-biju.das.jz@bp.renesas.com/
>  - Drop placeholder patch
>  - PATCH 4/4: Disabled RZ/G3L common nodes from r9a08g046l48-smarc.dts.
>    Update commit body, and improved usb20_pins, usb21_pins comments.
> 
> Biju Das (2):
>   arm64: dts: renesas: r9a08g046: Add USB2.0 host/phy device nodes
>   arm64: dts: renesas: r9a08g046: Add USB2.0 function device nodes
> 
> Tommaso Merciai (2):
>   arm64: dts: renesas: r9a09g047: Add USB2.0 support
>   arm64: dts: renesas: r9a09g047e57-smarc: Enable USB2.0 support

RZ/G3L USB2.0 binding patch is not queued.
Shall I send a new version without RZ/G3L patches ie, using placeholders [1] ?


[1] https://lore.kernel.org/all/aec1fce5558c6c88725fe710a2f9e4b1eb9e8d64.1787062965.git.tommaso.merciai.xr@bp.renesas.com/

Kind regards,
Tommaso

> 
>  arch/arm64/boot/dts/renesas/r9a08g046.dtsi    | 142 ++++++++++++++++++
>  .../boot/dts/renesas/r9a08g046l48-smarc.dts   |  20 +++
>  arch/arm64/boot/dts/renesas/r9a09g047.dtsi    | 124 +++++++++++++++
>  .../boot/dts/renesas/r9a09g047e57-smarc.dts   |  45 ++++++
>  .../boot/dts/renesas/renesas-smarc2.dtsi      |  25 +++
>  5 files changed, 356 insertions(+)
> 
> -- 
> 2.54.0
>
Re: [PATCH v3 0/4] Add USB2.0 support for RZ/G3E
Posted by Geert Uytterhoeven 4 days, 6 hours ago
Hi Tommaso,

On Mon, 21 Sept 2026 at 11:57, Tommaso Merciai
<tommaso.merciai.xr@bp.renesas.com> wrote:
> On Wed, Sep 09, 2026 at 10:54:57AM +0200, Tommaso Merciai wrote:
> > This patch series adds USB2.0 support for the Renesas R9A09G047 SoC and
> > enables it on the RZ/G3E SMARK II board.
> >
> > Kind regards,
> > Tommaso
> >
> > v2->v3:
> >  - No changes just rebased on top of next-20260908.
> >
> > v1->v2:
> >  - Included PATCH v7 7/9 and PATCH v7 6/9 from
> >    v7: https://lore.kernel.org/all/20260812141940.246223-1-biju.das.jz@bp.renesas.com/
> >  - Drop placeholder patch
> >  - PATCH 4/4: Disabled RZ/G3L common nodes from r9a08g046l48-smarc.dts.
> >    Update commit body, and improved usb20_pins, usb21_pins comments.
> >
> > Biju Das (2):
> >   arm64: dts: renesas: r9a08g046: Add USB2.0 host/phy device nodes
> >   arm64: dts: renesas: r9a08g046: Add USB2.0 function device nodes
> >
> > Tommaso Merciai (2):
> >   arm64: dts: renesas: r9a09g047: Add USB2.0 support
> >   arm64: dts: renesas: r9a09g047e57-smarc: Enable USB2.0 support
>
> RZ/G3L USB2.0 binding patch is not queued.
> Shall I send a new version without RZ/G3L patches ie, using placeholders [1] ?

That might be a good idea, to unblock mainlining of RZ/G3E USB.

However, it looks like the only missing piece is DT bindings for
"renesas,r9a08g046-usbphy-ctrl"? How come we ended up with
a driver in linux-next without bindings?

> [1] https://lore.kernel.org/all/aec1fce5558c6c88725fe710a2f9e4b1eb9e8d64.1787062965.git.tommaso.merciai.xr@bp.renesas.com/

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
Re: [PATCH v3 0/4] Add USB2.0 support for RZ/G3E
Posted by Tommaso Merciai 4 days, 2 hours ago
Hi Geert,
Thanks for your feedbacks.

On Mon, Sep 21, 2026 at 02:31:26PM +0200, Geert Uytterhoeven wrote:
> Hi Tommaso,
> 
> On Mon, 21 Sept 2026 at 11:57, Tommaso Merciai
> <tommaso.merciai.xr@bp.renesas.com> wrote:
> > On Wed, Sep 09, 2026 at 10:54:57AM +0200, Tommaso Merciai wrote:
> > > This patch series adds USB2.0 support for the Renesas R9A09G047 SoC and
> > > enables it on the RZ/G3E SMARK II board.
> > >
> > > Kind regards,
> > > Tommaso
> > >
> > > v2->v3:
> > >  - No changes just rebased on top of next-20260908.
> > >
> > > v1->v2:
> > >  - Included PATCH v7 7/9 and PATCH v7 6/9 from
> > >    v7: https://lore.kernel.org/all/20260812141940.246223-1-biju.das.jz@bp.renesas.com/
> > >  - Drop placeholder patch
> > >  - PATCH 4/4: Disabled RZ/G3L common nodes from r9a08g046l48-smarc.dts.
> > >    Update commit body, and improved usb20_pins, usb21_pins comments.
> > >
> > > Biju Das (2):
> > >   arm64: dts: renesas: r9a08g046: Add USB2.0 host/phy device nodes
> > >   arm64: dts: renesas: r9a08g046: Add USB2.0 function device nodes
> > >
> > > Tommaso Merciai (2):
> > >   arm64: dts: renesas: r9a09g047: Add USB2.0 support
> > >   arm64: dts: renesas: r9a09g047e57-smarc: Enable USB2.0 support
> >
> > RZ/G3L USB2.0 binding patch is not queued.
> > Shall I send a new version without RZ/G3L patches ie, using placeholders [1] ?
> 
> That might be a good idea, to unblock mainlining of RZ/G3E USB.

I will send v4 then, taking old [1] + PATCH 3/4 + PATCH 4/4 from this series.
PATCH 4/4 reworked to address your comments.

Kind regards,
Tommaso

> 
> However, it looks like the only missing piece is DT bindings for
> "renesas,r9a08g046-usbphy-ctrl"? How come we ended up with
> a driver in linux-next without bindings?
> 
> > [1] https://lore.kernel.org/all/aec1fce5558c6c88725fe710a2f9e4b1eb9e8d64.1787062965.git.tommaso.merciai.xr@bp.renesas.com/
> 
> 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