From 65ffb8b532fbd7d8b02520e651a8b6ea72fc6b49 Mon Sep 17 00:00:00 2001 From: William Wu Date: Tue, 11 Apr 2023 16:33:33 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3588: Disable u1 and u2 state for USB OTG1 device The USB3.0 OTG1 interface support Dual-Role Device (DRD) features, it means that supports either device or host operation separately, not simultaneously. In most application scenarios, the OTG1 is used as host mode. But there are some scenarios that need two USB devices at the same time on the RK3588 platform, in this case, it needs to set both the OTG0 and OTG1 in device mode. In order to improve the OTG1 USB3.0 device performance and stability, this patch disable the u1 and u2 state for OTG1, like what the OTG0 has done. Change-Id: Iec3249227d7b767e7dc0904fea0424c14ae00670 Signed-off-by: William Wu --- arch/arm64/boot/dts/rockchip/rk3588.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588.dtsi b/arch/arm64/boot/dts/rockchip/rk3588.dtsi index 96f01250d9c6..3c58a1f67dc2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588.dtsi @@ -135,6 +135,8 @@ phy-names = "usb2-phy", "usb3-phy"; phy_type = "utmi_wide"; snps,dis_enblslpm_quirk; + snps,dis-u1-entry-quirk; + snps,dis-u2-entry-quirk; snps,dis-u2-freeclk-exists-quirk; snps,dis-del-phy-power-chg-quirk; snps,dis-tx-ipgap-linecheck-quirk;