From: Wu Liang feng Date: Thu, 13 Oct 2016 06:24:53 +0000 (+0800) Subject: arm64: dts: rockchip: set dwc3 dr_mode as otg for rk3399-android-next X-Git-Tag: firefly_0821_release~1414 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=commitdiff_plain;h=d87393333837f83595ecb8b12e0bf3e6df927bd2 arm64: dts: rockchip: set dwc3 dr_mode as otg for rk3399-android-next rk3399 Type-C0 USB can support both peripheral mode and host mode, so we set dr_mode as otg. Change-Id: Ifb6e64920cecf27e41f801809d560bdd302a880b Signed-off-by: Wu Liang feng --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi index efef13ea9d6b..3ee091a90754 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi @@ -221,5 +221,5 @@ }; &usbdrd_dwc3_0 { - dr_mode = "peripheral"; + dr_mode = "otg"; };