]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: rockchip: enable typec-phy1 for rk3399-puma
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 1 Mar 2018 15:25:14 +0000 (16:25 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 16 Apr 2018 12:13:13 +0000 (14:13 +0200)
Commit c301b327aea898af ("arm64: dts: rockchip: add usb3-phy otg-port
support for rk3399") caused a regression regarding the USB3. During boot,
the following message appears a few times:

      dwc3: failed to initialize core

The driver is deferred waiting for the typec-phy, but this never happens
beause is disabled. So, enable it.

The offending commit was reverted in 4.16-rc but can be re-applied
after enabling the typec phys.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

index 4a2d06abe9c1dc892e819d116f6ce3fa3241e9a9..14a0f19986390a7593cd3be04b23b0c7de1e493d 100644 (file)
@@ -527,6 +527,10 @@ norflash: flash@0 {
        };
 };
 
+&tcphy1 {
+       status = "okay";
+};
+
 &tsadc {
        rockchip,hw-tshut-mode = <1>;
        rockchip,hw-tshut-polarity = <1>;