Re: [PATCH v2 23/24] arm64: dts: qcom: glymur: Add USB support
From: Wesley Cheng
Date: Thu Sep 25 2025 - 21:09:41 EST
On 9/25/2025 3:59 AM, Konrad Dybcio wrote:
On 9/25/25 12:54 PM, Abel Vesa wrote:
On 25-09-25 11:58:29, Pankaj Patil wrote:
From: Wesley Cheng <wesley.cheng@xxxxxxxxxxxxxxxx>
The Glymur USB system contains 3 USB type C ports, and 1 USB multiport
controller. This encompasses 5 SS USB QMP PHYs (3 combo and 2 uni) and 5
M31 eUSB2 PHYs. The controllers are SNPS DWC3 based, and will use the
flattened DWC3 QCOM design.
Signed-off-by: Wesley Cheng <wesley.cheng@xxxxxxxxxxxxxxxx>
Signed-off-by: Pankaj Patil <pankaj.patil@xxxxxxxxxxxxxxxx>
---
[...]
+
+ usb_1_ss0: usb@a600000 {
This is usb_1_ss0, but then you have usb1_ss1 ?
I'm in favor of just calling it USB0/1/2/MP/HS because that's what it is..
I never really understood why we have:
usb_1_ss0_hsphy
usb_1_ss0_qmpphy
usb_1_ss1_hsphy
usb_1_ss1_qmpphy
...
Not sure why we have the usb_1* tag for the primary and secondary PHYs.
I think it'd be simpler to just do what Konrad mentioned:
usb0_hsphy0
usb0_qmpphy0
usb1_hsphy0
usb1_qmpphy0
usb2_hsphy0
usb2_qmpphy0
usb_mp_hsphy0
usb_mp_hsphy1
usb_mp_qmpphy0
usb_mp_qmphy1
then controllers can be
usb_0_ss
usb_1_ss
usb_2_ss
usb_mp
Thanks
Wesley Cheng
[...]
+ dr_mode = "peripheral";
+
+ status = "disabled";
So you have the glue defined above, but not the actual controller (compatible snps,dwc3) ?
I don't see how this would work.
Same for all other controllers.
good morning!
6e762f7b8edc ("dt-bindings: usb: Introduce qcom,snps-dwc3")
Konrad