arm64: dts: qcom: hamoa-iot-evk: Enable retimer on USB0 port
PATCH 1/1 arm64: dts: qcom: hamoa-iot-evk: Enable retimer on USB0 port
Add the retimer for usb_1_ss0 port (USB0), in order to enable super-speed enumeration on that port.
--- arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts | 54 +++++++++++++++++++++- 1 file changed, 52 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +52 -2
@@ -118,7 +118,7 @@ port@1 { reg = <1>; pmic_glink_ss0_ss_in: endpoint { - remote-endpoint = <&usb_1_ss0_qmpphy_out>; + remote-endpoint = <&retimer_ss0_ss_out>; }; };
@@ -785,6 +785,56 @@ retimer_ss2_con_sbu_out: endpoint { }; }; +&i2c3 { + clock-frequency = <400000>; + + status = "okay"; + + typec-mux@8 { + compatible = "parade,ps8830"; + reg = <0x08>; + + clocks = <&rpmhcc RPMH_RF_CLK3>; + + vdd-supply = <&vreg_rtmr0_1p15>; + vdd33-supply = <&vreg_rtmr0_3p3>; + vdd33-cap-supply = <&vreg_rtmr0_3p3>; + vddar-supply = <&vreg_rtmr0_1p15>; + vddat-supply = <&vreg_rtmr0_1p15>; + vddio-supply = <&vreg_rtmr0_1p8>; + + reset-gpios = <&pm8550_gpios 10 GPIO_ACTIVE_LOW>; + + pinctrl-0 = <&rtmr0_default>; + pinctrl-names = "default"; + + retimer-switch; + orientation-switch; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + }; + }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; + + }; + }; +}; + &i2c5 { clock-frequency = <400000>;
@@ -1541,7 +1591,7 @@ &usb_1_ss0_hsphy { }; &usb_1_ss0_qmpphy_out { - remote-endpoint = <&pmic_glink_ss0_ss_in>; + remote-endpoint = <&retimer_ss0_ss_in>; }; &usb_1_ss1_dwc3_hs {
Signature · 1 line
2.34.1
Quoted 5 lines · Prashanth K
Add the retimer for
usb_1_ss0port (USB0), in order to enable super-speed enumeration on that port.Fixes c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")
This is a feature addition, not a fix
[...]
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + };
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts retimer_ss2_con_sbu_out: endpoint { · line 833
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; +
Stray \n, but you should really have a @2 port here as well.
Konrad
Quoted 11 lines · Konrad Dybcio
Quoted 5 lines · Prashanth K
Add the retimer for
usb_1_ss0port (USB0), in order to enable super-speed enumeration on that port.Fixes c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")This is a feature addition, not a fix
[...]
Sure.
Quoted 23 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + };arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts retimer_ss2_con_sbu_out: endpoint { · line 833
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; +Stray \n, but you should really have a @2 port here as well.
Quoted 1 line
Konrad
Can we ad port@2 and leave it empty?
Regards,
Prashanth K
Quoted 38 lines · Prashanth K
Quoted 11 lines · Konrad Dybcio
Quoted 5 lines · Prashanth K
Add the retimer for
usb_1_ss0port (USB0), in order to enable super-speed enumeration on that port.Fixes c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")This is a feature addition, not a fix
[...]
Sure.
Quoted 23 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + };arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts retimer_ss2_con_sbu_out: endpoint { · line 833
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; +Stray \n, but you should really have a @2 port here as well.
Quoted 2 lines
Quoted 1 line
Konrad
Can we ad port@2 and leave it empty?
Why would you? Just connect it to port2 of the connector under pmic-glink
Konrad
Quoted 39 lines · Konrad Dybcio
Quoted 38 lines · Prashanth K
Quoted 11 lines · Konrad Dybcio
Quoted 5 lines · Prashanth K
Add the retimer for
usb_1_ss0port (USB0), in order to enable super-speed enumeration on that port.Fixes c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")This is a feature addition, not a fix
[...]
Sure.
Quoted 23 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + };arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts retimer_ss2_con_sbu_out: endpoint { · line 833
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; +Stray \n, but you should really have a @2 port here as well.
Quoted 6 lines
Quoted 2 lines
Quoted 1 line
Konrad
Can we ad port@2 and leave it empty?
Why would you? Just connect it to port2 of the connector under pmic-glink
Konrad
Because the port@2 of pmic-glink (pmic_glink_ss0_sbu) is already connected to usb-1-ss0-sbu-mux (onn,fsusb42). This is different compared to other connectors.
Regards,
Prashanth K
Quoted 45 lines · Prashanth K
Quoted 42 lines · Konrad Dybcio
Quoted 40 lines · Prashanth K
Quoted 11 lines · Konrad Dybcio
Quoted 5 lines · Prashanth K
Add the retimer for
usb_1_ss0port (USB0), in order to enable super-speed enumeration on that port.Fixes c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")This is a feature addition, not a fix
[...]
Sure.
Quoted 23 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + };arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts retimer_ss2_con_sbu_out: endpoint { · line 833
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; +Stray \n, but you should really have a @2 port here as well.
Quoted 1 line
Konrad
Can we ad port@2 and leave it empty?
Quoted 7 lines
Quoted 3 lines
Why would you? Just connect it to port2 of the connector under pmic-glink
Konrad
Because the port@2 of pmic-glink (
pmic_glink_ss0_sbu) is already connected to usb-1-ss0-sbu-mux (onn,fsusb42). This is different compared to other connectors.
Are both the SBU mux and the Parade retimer present on board?
The former is redundant since the retimer already has a superset of its functionality, so that sounds rather odd.
Konrad
Quoted 50 lines · Konrad Dybcio
Quoted 49 lines · Prashanth K
Quoted 45 lines · Konrad Dybcio
Quoted 38 lines · Prashanth K
Quoted 11 lines · Konrad Dybcio
Quoted 5 lines · Prashanth K
Add the retimer for
usb_1_ss0port (USB0), in order to enable super-speed enumeration on that port.Fixes c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")This is a feature addition, not a fix
[...]
Sure.
Quoted 23 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + };arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts retimer_ss2_con_sbu_out: endpoint { · line 833
Quoted 10 lines
arch/arm64/boot/dts/qcom/hamoa-iot-evk.dts +10
-0+ }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; +Stray \n, but you should really have a @2 port here as well.
Quoted 2 lines
Quoted 1 line
Konrad
Can we ad port@2 and leave it empty?
Why would you? Just connect it to port2 of the connector under pmic-glink
Konrad
Quoted 8 lines
Quoted 3 lines
Because the port@2 of pmic-glink (
pmic_glink_ss0_sbu) is already connected to usb-1-ss0-sbu-mux (onn,fsusb42). This is different compared to other connectors.Are both the SBU mux and the Parade retimer present on board?
The former is redundant since the retimer already has a superset of its functionality, so that sounds rather odd.
fsusb42 might be also used to switch SBU lines for other purposes (e.g. for the debug).
Signature · 2 lines
With best wishes Dmitry
Quoted 55 lines · Dmitry Baryshkov
Quoted 54 lines · Konrad Dybcio
Quoted 52 lines · Prashanth K
Quoted 39 lines · Konrad Dybcio
Quoted 38 lines · Prashanth K
Quoted 11 lines · Konrad Dybcio
Quoted 5 lines · Prashanth K
Add the retimer for
usb_1_ss0port (USB0), in order to enable super-speed enumeration on that port.Fixes c11645afb0e2 ("arm64: dts: qcom: Add base HAMOA-IOT-EVK board")This is a feature addition, not a fix
[...]
Sure.
Quoted 23 lines
Quoted 10 lines
(quoted diff) +10
-0+ ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + retimer_ss0_ss_out: endpoint { + remote-endpoint = <&pmic_glink_ss0_ss_in>; + };Review
Quoted 10 lines
(quoted diff) +10
-0+ }; + + port@1 { + reg = <1>; + + retimer_ss0_ss_in: endpoint { + remote-endpoint = <&usb_1_ss0_qmpphy_out>; + }; + }; +Stray \n, but you should really have a @2 port here as well.
Quoted 6 lines
Quoted 2 lines
Quoted 1 line
Konrad
Can we ad port@2 and leave it empty?
Why would you? Just connect it to port2 of the connector under pmic-glink
Konrad
Because the port@2 of pmic-glink (
pmic_glink_ss0_sbu) is already connected to usb-1-ss0-sbu-mux (onn,fsusb42). This is different compared to other connectors.
Quoted 8 lines
Quoted 4 lines
Are both the SBU mux and the Parade retimer present on board?
The former is redundant since the retimer already has a superset of its functionality, so that sounds rather odd.
fsusb42 might be also used to switch SBU lines for other purposes (e.g. for the debug).
I just checked, fsusb42 is not present in evk, not sure why it was added in the first place. Will link the retimer port@2 with pmic-glink.
Regards,
Prashanth K