From: Dan Johansen Date: Thu, 5 Aug 2021 22:04:27 +0000 (+0200) Subject: arm64: dts: rockchip: Setup USB typec port as datarole on for Pinebook Pro X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ef914fb8f7fc20dfe1bfa238e1fe58899aa1a1aa;p=linux.git arm64: dts: rockchip: Setup USB typec port as datarole on for Pinebook Pro 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 Link: https://lore.kernel.org/r/20210805220426.2693062-1-strit@manjaro.org Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts index 9e5d07f5712e6..dae8c252bc2bb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts @@ -707,7 +707,7 @@ connector { compatible = "usb-c-connector"; - data-role = "host"; + data-role = "dual"; label = "USB-C"; op-sink-microwatt = <1000000>; power-role = "dual";