linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: rockchip: Setup USB typec port as datarole on
@ 2021-08-05 22:04 Dan Johansen
  2021-08-13  8:51 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Johansen @ 2021-08-05 22:04 UTC (permalink / raw)
  To: robh+dt, heiko; +Cc: devicetree, linux-arm-kernel, strit, linux-rockchip

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(-)

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";
-- 
2.32.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: rockchip: Setup USB typec port as datarole on
  2021-08-05 22:04 [PATCH] arm64: dts: rockchip: Setup USB typec port as datarole on Dan Johansen
@ 2021-08-13  8:51 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2021-08-13  8:51 UTC (permalink / raw)
  To: robh+dt, Dan Johansen
  Cc: Heiko Stuebner, devicetree, linux-rockchip, linux-arm-kernel

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,
-- 
Heiko Stuebner <heiko@sntech.de>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-13  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 22:04 [PATCH] arm64: dts: rockchip: Setup USB typec port as datarole on Dan Johansen
2021-08-13  8:51 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).