[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ae53d367-2ee5-49aa-82ba-86f9e84d4d25@tuxon.dev>
Date: Thu, 28 Aug 2025 21:51:46 +0300
From: claudiu beznea <claudiu.beznea@...on.dev>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>
Cc: vkoul@...nel.org, kishon@...nel.org, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, p.zabel@...gutronix.de, geert+renesas@...der.be,
magnus.damm@...il.com, yoshihiro.shimoda.uh@...esas.com,
biju.das.jz@...renesas.com, linux-phy@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH v5 0/7] Add initial USB support for the Renesas RZ/G3S SoC
Hi, Wolfram,
On 8/28/25 11:56, Wolfram Sang wrote:
> Hi Claudiu,
>
>> Series adds initial USB support for the Renesas RZ/G3S SoC.
>>
>> Series is split as follows:
>> - patches 1-2/7 - fixes on bindings and driver for USB PHY
>> - patches 3-5/7 - updates the rzg2l-usbphy-ctrl driver and documentation
>> with support for setting PWRRDY though SYSC
>> - patches 6-7/7 - add device tree support
>
> Can you kindly send me a working config (privately will do). I think I
> enabled all the necessary config options but still get:
>
> [ 0.271024] rzg2l_usbphy_ctrl 11e00000.usbphy-ctrl: probe with driver rzg2l_usbphy_ctrl failed with error -22
> ...
> [ 10.981612] platform 11e20000.usb: deferred probe pending: platform: supplier 11e10200.usb-phy not ready
> [ 10.984103] platform 11e10200.usb-phy: deferred probe pending: platform: wait for supplier /soc/usbphy-ctrl@...00000/regulator-vbus
I just checked it on latest linux-next and all good on my side. Would it be
possible that you don't have commit 2da2740fb9c8 ("soc: renesas: rz-sysc: Add
syscon/regmap support") in your tree?
This is how my tree looks like:
1db69bbb9c49 (HEAD) arm64: dts: renesas: rzg3s-smarc: Enable USB support
ee93ed9f0097 arm64: dts: renesas: r9a08g045: Add USB support
285447f934f3 reset: rzg2l-usbphy-ctrl: Add support for RZ/G3S SoC
8c758908876c reset: rzg2l-usbphy-ctrl: Add support for USB PWRRDY
8e41c54ab567 dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G3S support
02db7a65b4b3 phy: renesas: rcar-gen3-usb2: Fix an error handling path in
rcar_gen3_phy_usb2_probe()
217453b58bdf dt-bindings: phy: renesas,usb2-phy: Mark resets as required for RZ/G3S
0f4c93f7eb86 (tag: next-20250822, linux-next/master) Add linux-next specific
files for 20250822
and few checks on my board:
root@...rc-rzg3s:~# uname -r
6.17.0-rc2-next-20250822-00007-g1db69bbb9c49
root@...rc-rzg3s:~# [ 217.627804] usb 1-1.2: USB disconnect, device number 4
[ 217.627804] usb 1-1.2: USB disconnect, device number 4
root@...rc-rzg3s:~#
root@...rc-rzg3s:~#
root@...rc-rzg3s:~#
root@...rc-rzg3s:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 045b:022b Hitachi, Ltd
Bus 001 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@...rc-rzg3s:~# [ 231.154575] usb 1-1.2: new high-speed USB device number 5
using ehci-platform
[ 231.154575] usb 1-1.2: new high-speed USB device number 5 using ehci-platform
[ 231.299629] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 231.299629] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 231.327087] scsi host0: usb-storage 1-1.2:1.0
[ 231.327087] scsi host0: usb-storage 1-1.2:1.0
[ 232.348676] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00
PQ: 0 ANSI: 6
[ 232.348676] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00
PQ: 0 ANSI: 6
[ 232.382829] sd 0:0:0:0: [sda] 31260672 512-byte logical blocks: (16.0 GB/14.9
GiB)
[ 232.382829] sd 0:0:0:0: [sda] 31260672 512-byte logical blocks: (16.0 GB/14.9
GiB)
[ 232.417118] sd 0:0:0:0: [sda] Write Protect is off
[ 232.417118] sd 0:0:0:0: [sda] Write Protect is off
[ 232.430023] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled,
doesn't support DPO or FUA
[ 232.430023] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled,
doesn't support DPO or FUA
[ 232.481535] sda: sda1
[ 232.481535] sda: sda1
[ 232.490719] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 232.490719] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@...rc-rzg3s:~#
root@...rc-rzg3s:~#
root@...rc-rzg3s:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 045b:022b Hitachi, Ltd
Bus 001 Device 003: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 005: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@...rc-rzg3s:~#
root@...rc-rzg3s:~#
Thank you for looking to this,
Claudiu
>
> Thanks,
>
> Wolfram
>
Powered by blists - more mailing lists