diff mbox series

[3/7] arm64: dts: qcom: msm8996: Strictly limit USB2 host to USB2 speeds

Message ID 20210525200246.118323-3-konrad.dybcio@somainline.org
State Accepted
Commit fbe7be5b23ae6640d14a94d5fb71dddfce324976
Headers show
Series [1/7] arm64: dts: qcom: Add PMI8996 DTSI file | expand

Commit Message

Konrad Dybcio May 25, 2021, 8:02 p.m. UTC
As the name implies, the USB2 controller should only operate at
USB2 speeds. Make sure it does just that by pinning it to USB
High-Speed (USB2) mode.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
index 12afd49e0097..08a6e2b5a54b 100644
--- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
@@ -2588,6 +2588,7 @@  usb2: usb@76f8800 {
 			assigned-clock-rates = <19200000>, <60000000>;
 
 			power-domains = <&gcc USB30_GDSC>;
+			qcom,select-utmi-as-pipe-clk;
 			status = "disabled";
 
 			dwc3@7600000 {
@@ -2596,6 +2597,7 @@  dwc3@7600000 {
 				interrupts = <0 138 IRQ_TYPE_LEVEL_HIGH>;
 				phys = <&hsusb_phy2>;
 				phy-names = "usb2-phy";
+				maximum-speed = "high-speed";
 				snps,dis_u2_susphy_quirk;
 				snps,dis_enblslpm_quirk;
 			};