]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: exynos: gs101: allow stable USB phy Vbus detection
authorAndré Draszik <andre.draszik@linaro.org>
Tue, 3 Dec 2024 12:40:26 +0000 (12:40 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 9 Dec 2024 19:24:54 +0000 (20:24 +0100)
For the DWC3 core to reliably detect the connected phy's Vbus state, we
need to disable phy suspend.

Add
    snps,dis_u2_susphy_quirk
    snps,dis_u3_susphy_quirk
to do that.

While at it, also add
    snps,has-lpm-erratum
as this is set downstream which implies that the core was configured
with LPM Erratum. We should do the same here.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Tested-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20241203-gs101-phy-lanes-orientation-dts-v2-3-1412783a6b01@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/gs101.dtsi

index 18d4e7852a1ae0cc3a5b6aa35f10f96e93a2db2a..c5335dd59dfe9fcf8c64d66a466799600f8447b0 100644 (file)
                                interrupts = <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH 0>;
                                phys = <&usbdrd31_phy 0>, <&usbdrd31_phy 1>;
                                phy-names = "usb2-phy", "usb3-phy";
+                               snps,has-lpm-erratum;
+                               snps,dis_u2_susphy_quirk;
+                               snps,dis_u3_susphy_quirk;
                                status = "disabled";
                        };
                };