arm64: dts: rockchip: set rockpro64 usbc dr_mode as host
diff mbox series

Message ID 20200614142950.1120694-1-pgwipeout@gmail.com
State New
Headers show
Series
  • arm64: dts: rockchip: set rockpro64 usbc dr_mode as host
Related show

Commit Message

Peter Geis June 14, 2020, 2:29 p.m. UTC
The usb-c port on the rockpro64 does not detect devices reliably when in otg mode.
Setting the mode to "host" allows the port to work reliably.
This aligns with the pinebook-pro configuration.

Signed-off-by: Peter Geis <pgwipeout@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heiko Stübner June 17, 2020, 8:19 a.m. UTC | #1
Am Sonntag, 14. Juni 2020, 16:29:51 CEST schrieb Peter Geis:
> The usb-c port on the rockpro64 does not detect devices reliably when in otg mode.
> Setting the mode to "host" allows the port to work reliably.
> This aligns with the pinebook-pro configuration.
> 
> Signed-off-by: Peter Geis <pgwipeout@gmail.com>

applied for 5.9

Could you also include linux-arm-kernel@lists.infradead.org for future
patches please?

Thanks
Heiko

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
index 6788ab28f89a..3456ee97c288 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
@@ -795,7 +795,7 @@  &usbdrd3_0 {
 
 &usbdrd_dwc3_0 {
 	status = "okay";
-	dr_mode = "otg";
+	dr_mode = "host";
 };
 
 &usbdrd3_1 {