]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: enable typec-phy for rk3399-firefly
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 1 Mar 2018 15:25:13 +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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts

index 4f28628aa09116f553b5e4fafa463bead619293e..2a352763c8489be969fa361ed0543d3163437d56 100644 (file)
        status = "okay";
 };
 
+&tcphy0 {
+       status = "okay";
+};
+
+&tcphy1 {
+       status = "okay";
+};
+
 &tsadc {
        /* tshut mode 0:CRU 1:GPIO */
        rockchip,hw-tshut-mode = <1>;