diff mbox series

arm64: dts: rockchip: Setup USB typec port as datarole on

Message ID 20210805220426.2693062-1-strit@manjaro.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: rockchip: Setup USB typec port as datarole on | expand

Commit Message

Dan Johansen Aug. 5, 2021, 10:04 p.m. UTC
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>
---
 arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heiko Stuebner Aug. 13, 2021, 8:51 a.m. UTC | #1
On Fri, 6 Aug 2021 00:04:27 +0200, Dan Johansen wrote:
> 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.

Applied, thanks!

[1/1] arm64: dts: rockchip: Setup USB typec port as datarole on
      commit: d34a2131ab59c8bb0786de693729fbd1aeef1049

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
index 2b5f001ff4a6..2115e03a59d7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
@@ -711,7 +711,7 @@  fusb0: fusb30x@22 {
 
 		connector {
 			compatible = "usb-c-connector";
-			data-role = "host";
+			data-role = "dual";
 			label = "USB-C";
 			op-sink-microwatt = <1000000>;
 			power-role = "dual";