mbox series

[5.10.y-cip,00/19] Add RZ/V2M USB3.1 support

Message ID 20230601150410.124773-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Add RZ/V2M USB3.1 support | expand

Message

Biju Das June 1, 2023, 3:03 p.m. UTC
This patch series aims to add USB3.1 support for RZ/V2M EVK platform

All these patches are cherry-picked from the mainline.

Arnd Bergmann (1):
  xhci: split out rcar/rz support from xhci-plat.c

Biju Das (14):
  clk: renesas: r9a09g011: Add USB clock and reset entries
  usb: typec: hd3ss3220: Add polling support
  dt-bindings: usb: renesas,usb-xhci: Document RZ/V2M support
  dt-bindings: usb: renesas,usb3-peri: Update reset, clock-name and
    interrupts properties
  dt-bindings: usb: renesas,usb3-peri: Document RZ/V2MA bindings
  dt-bindings: usb: Add RZ/V2M USB3DRD binding
  usb: gadget: Add support for RZ/V2M USB3DRD driver
  usb: gadget: udc: renesas_usb3: Add role switch support for RZ/V2M
  usb: host: xhci-plat: Improve clock handling in probe()
  usb: host: xhci-plat: Add reset support
  xhci: host: Add Renesas RZ/V2M SoC support
  arm64: dts: renesas: r9a09g011: Add USB3 DRD, device and host nodes
  arm64: dts: renesas: rzv2mevk2: Enable USB3 DRD, Peripheral and Host
  arm64: dts: renesas: rzv2mevk2: Enable USB3 role switch

Christophe JAILLET (1):
  usb: host: xhci-plat: Remove useless DMA-32 fallback configuration

Geert Uytterhoeven (1):
  arm64: defconfig: Enable RZ/V2M xHCI and USB3.1 DRD controller support

Phil Edworthy (2):
  dt-bindings: usb: renesas, usb3-peri: Document RZ/V2M r9a09g011
    support
  usb: gadget: udc: renesas_usb3: Add support for RZ/V2M

 .../bindings/usb/renesas,rzv2m-usb3drd.yaml   | 129 ++++++++++++
 .../bindings/usb/renesas,usb-xhci.yaml        |  43 +++-
 .../bindings/usb/renesas,usb3-peri.yaml       |  63 ++++--
 .../boot/dts/renesas/r9a09g011-v2mevk2.dts    |  82 ++++++++
 arch/arm64/boot/dts/renesas/r9a09g011.dtsi    |  45 +++++
 arch/arm64/configs/defconfig                  |   2 +
 drivers/clk/renesas/r9a09g011-cpg.c           |  21 ++
 drivers/usb/gadget/udc/Kconfig                |  11 +
 drivers/usb/gadget/udc/Makefile               |   1 +
 drivers/usb/gadget/udc/renesas_usb3.c         | 191 +++++++++++++++---
 drivers/usb/gadget/udc/rzv2m_usb3drd.c        | 140 +++++++++++++
 drivers/usb/host/Kconfig                      |  11 +-
 drivers/usb/host/Makefile                     |   8 +-
 drivers/usb/host/xhci-plat.c                  | 152 +++++++-------
 drivers/usb/host/xhci-plat.h                  |   7 +
 drivers/usb/host/xhci-rcar.c                  | 102 +++++++++-
 drivers/usb/host/xhci-rcar.h                  |  55 -----
 drivers/usb/host/xhci-rzv2m.c                 |  38 ++++
 drivers/usb/host/xhci-rzv2m.h                 |  16 ++
 drivers/usb/typec/hd3ss3220.c                 |  29 +++
 include/linux/usb/rzv2m_usb3drd.h             |  20 ++
 21 files changed, 973 insertions(+), 193 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/usb/renesas,rzv2m-usb3drd.yaml
 create mode 100644 drivers/usb/gadget/udc/rzv2m_usb3drd.c
 delete mode 100644 drivers/usb/host/xhci-rcar.h
 create mode 100644 drivers/usb/host/xhci-rzv2m.c
 create mode 100644 drivers/usb/host/xhci-rzv2m.h
 create mode 100644 include/linux/usb/rzv2m_usb3drd.h

Comments

Pavel Machek June 3, 2023, 9:29 a.m. UTC | #1
Hi!

> This patch series aims to add USB3.1 support for RZ/V2M EVK platform
> 
> All these patches are cherry-picked from the mainline.

Patches look ok to me. I can apply them if they pass testing and if
there are no other comments.

Best regards,
								Pavel
Nobuhiro Iwamatsu June 5, 2023, 1:37 a.m. UTC | #2
Hi all,

> -----Original Message-----
> From: Biju Das <biju.das.jz@bp.renesas.com>
> Sent: Friday, June 2, 2023 12:04 AM
> To: cip-dev@lists.cip-project.org; iwamatsu nobuhiro(岩松 信洋 ○DITC□
> DIT○OST) <nobuhiro1.iwamatsu@toshiba.co.jp>; Pavel Machek
> <pavel@denx.de>
> Cc: Chris Paterson <chris.paterson2@renesas.com>; Biju Das
> <biju.das.jz@bp.renesas.com>; Fabrizio Castro
> <fabrizio.castro.jz@renesas.com>
> Subject: [PATCH 5.10.y-cip 00/19] Add RZ/V2M USB3.1 support
> 
> This patch series aims to add USB3.1 support for RZ/V2M EVK platform
> 
> All these patches are cherry-picked from the mainline.
> 
> Arnd Bergmann (1):
>   xhci: split out rcar/rz support from xhci-plat.c
> 
> Biju Das (14):
>   clk: renesas: r9a09g011: Add USB clock and reset entries
>   usb: typec: hd3ss3220: Add polling support
>   dt-bindings: usb: renesas,usb-xhci: Document RZ/V2M support
>   dt-bindings: usb: renesas,usb3-peri: Update reset, clock-name and
>     interrupts properties
>   dt-bindings: usb: renesas,usb3-peri: Document RZ/V2MA bindings
>   dt-bindings: usb: Add RZ/V2M USB3DRD binding
>   usb: gadget: Add support for RZ/V2M USB3DRD driver
>   usb: gadget: udc: renesas_usb3: Add role switch support for RZ/V2M
>   usb: host: xhci-plat: Improve clock handling in probe()
>   usb: host: xhci-plat: Add reset support
>   xhci: host: Add Renesas RZ/V2M SoC support
>   arm64: dts: renesas: r9a09g011: Add USB3 DRD, device and host nodes
>   arm64: dts: renesas: rzv2mevk2: Enable USB3 DRD, Peripheral and Host
>   arm64: dts: renesas: rzv2mevk2: Enable USB3 role switch
> 
> Christophe JAILLET (1):
>   usb: host: xhci-plat: Remove useless DMA-32 fallback configuration
> 
> Geert Uytterhoeven (1):
>   arm64: defconfig: Enable RZ/V2M xHCI and USB3.1 DRD controller support
> 
> Phil Edworthy (2):
>   dt-bindings: usb: renesas, usb3-peri: Document RZ/V2M r9a09g011
>     support
>   usb: gadget: udc: renesas_usb3: Add support for RZ/V2M

I reviewed this series, looks good to me.
I can apply them, if there are no other comments and issues.
  Test CI: https://gitlab.com/cip-project/cip-kernel/linux-cip/-/pipelines/889078814

Reviewed-by Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

Best regards,
  Nobuhiro
Pavel Machek June 5, 2023, 8:57 a.m. UTC | #3
Hi!

> I reviewed this series, looks good to me.
> I can apply them, if there are no other comments and issues.
>   Test CI: https://gitlab.com/cip-project/cip-kernel/linux-cip/-/pipelines/889078814
> 
> Reviewed-by Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

Thanks for review and testing. I applied the series.

Best regards,
								Pavel