[PATCH RESEND v3 0/5] phy: renesas: rcar-gen3-usb2: Fixes for Renesas RZ/G3S

Claudiu posted 5 patches 7 months, 1 week ago
drivers/phy/renesas/phy-rcar-gen3-usb2.c | 135 +++++++++++++----------
1 file changed, 75 insertions(+), 60 deletions(-)
[PATCH RESEND v3 0/5] phy: renesas: rcar-gen3-usb2: Fixes for Renesas RZ/G3S
Posted by Claudiu 7 months, 1 week ago
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

Series add fixes for the Renesas USB2 PHY driver identified while
working on the Renesas RZ/G3S USB support. These changes are
needed for the upcomming RZ/G3S USB support (especially for the
power management support).

Series (with [1] on top) was tested on Renesas RZ/G3S with consecutive
unbind/bind and data transfer tests before/after the unbind/bind.

The unbind/bind was also tested on the devices with the following
device trees but w/o checking the data transfer (as I only had
remote access w/o USB devices connected):
- r8a7742-iwg21d-q7.dts
- r8a7743-iwg20d-q7.dts
- r8a7744-iwg20d-q7.dts
- r8a7745-iwg22d-sodimm.dts
- r8a77470-iwg23s-sbc.dts
- r8a774a1-hihope-rzg2m-ex.dts
- r8a774b1-hihope-rzg2n-ex.dts
- r8a774e1-hihope-rzg2h-ex.dts
- r9a07g043u11-smarc.dts
- r9a07g044c2-smarc.dts
- r9a07g044l2-smarc.dts
- r9a07g054l2-smarc.dts
- r9a07g043f01-smarc.dts

Thank you,
Claudiu Beznea

Changes in v3:
- collected tags
- improve the validation on the code that requests the
  optional IRQ as suggested in the review process

Changes in v2:
- dropped RFT
- collected tags
- fixed checkpatch.pl warnings

[1] https://lore.kernel.org/all/20250219161239.1751756-1-claudiu.beznea.uj@bp.renesas.com/

Claudiu Beznea (5):
  phy: renesas: rcar-gen3-usb2: Fix role detection on unbind/bind
  phy: renesas: rcar-gen3-usb2: Move IRQ request in probe
  phy: renesas: rcar-gen3-usb2: Lock around hardware registers and
    driver data
  phy: renesas: rcar-gen3-usb2: Assert PLL reset on PHY power off
  phy: renesas: rcar-gen3-usb2: Set timing registers only once

 drivers/phy/renesas/phy-rcar-gen3-usb2.c | 135 +++++++++++++----------
 1 file changed, 75 insertions(+), 60 deletions(-)

-- 
2.43.0
Re: [PATCH RESEND v3 0/5] phy: renesas: rcar-gen3-usb2: Fixes for Renesas RZ/G3S
Posted by Vinod Koul 7 months ago
On Wed, 07 May 2025 15:50:27 +0300, Claudiu wrote:
> Series add fixes for the Renesas USB2 PHY driver identified while
> working on the Renesas RZ/G3S USB support. These changes are
> needed for the upcomming RZ/G3S USB support (especially for the
> power management support).
> 
> Series (with [1] on top) was tested on Renesas RZ/G3S with consecutive
> unbind/bind and data transfer tests before/after the unbind/bind.
> 
> [...]

Applied, thanks!

[1/5] phy: renesas: rcar-gen3-usb2: Fix role detection on unbind/bind
      commit: 54c4c58713aaff76c2422ff5750e557ab3b100d7
[2/5] phy: renesas: rcar-gen3-usb2: Move IRQ request in probe
      commit: de76809f60cc938d3580bbbd5b04b7d12af6ce3a
[3/5] phy: renesas: rcar-gen3-usb2: Lock around hardware registers and driver data
      commit: 55a387ebb9219cbe4edfa8ba9996ccb0e7ad4932
[4/5] phy: renesas: rcar-gen3-usb2: Assert PLL reset on PHY power off
      commit: 9ce71e85b29eb63e48e294479742e670513f03a0
[5/5] phy: renesas: rcar-gen3-usb2: Set timing registers only once
      commit: 86e70849f4b2b4597ac9f7c7931f2a363774be25

Best regards,
-- 
~Vinod