arm64: dts: rockchip: Setup USB typec port as datarole on for Pinebook Pro
authorDan Johansen <strit@manjaro.org>
Thu, 5 Aug 2021 22:04:27 +0000 (00:04 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Sep 2021 15:50:34 +0000 (17:50 +0200)
Some chargers try to put the charged device into device data
role. Before this commit this condition caused the tcpm state machine to
issue a hard reset due to a capability missmatch.

Signed-off-by: Dan Johansen <strit@manjaro.org>
Link: https://lore.kernel.org/r/20210805220426.2693062-1-strit@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts

index 9e5d07f..dae8c25 100644 (file)
 
                connector {
                        compatible = "usb-c-connector";
-                       data-role = "host";
+                       data-role = "dual";
                        label = "USB-C";
                        op-sink-microwatt = <1000000>;
                        power-role = "dual";