[PATCH v3 0/5] phy: renesas: rcar-gen3-usb2: Fixes for Renesas RZ/G3S
From: Claudiu
Date: Tue Mar 04 2025 - 05:48:39 EST
From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx/
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