]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: exynos7870: add quirk to disable USB2 LPM in gadget mode
authorKaustabh Chakraborty <kauschluss@disroot.org>
Thu, 26 Jun 2025 07:32:56 +0000 (13:02 +0530)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sat, 5 Jul 2025 08:23:31 +0000 (10:23 +0200)
In gadget mode, USB connections are sluggish. The device won't send
packets to the host unless the host sends packets to the device. For
instance, SSH-ing through the USB network would apparently not work
unless you're flood-pinging the device's IP.

Add the property snps,usb2-gadget-lpm-disable to the dwc3 node, which
seems to solve this issue.

Fixes: d6f3a7f91fdb ("arm64: dts: exynos: add initial devicetree support for exynos7870")
Cc: stable@vger.kernel.org # v6.16
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://lore.kernel.org/r/20250626-exynos7870-dts-fixes-v1-1-349987874d9a@disroot.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynos7870.dtsi

index 5cba8c9bb403405b2d9721ab8cf9d61e3d5faf95..d5d347623b9038b71da55dccdc9084aeaf71618c 100644 (file)
                                phys = <&usbdrd_phy 0>;
 
                                usb-role-switch;
+                               snps,usb2-gadget-lpm-disable;
                        };
                };