diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-11-03 15:02:14 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-05 20:10:18 +0100 |
commit | 007fda302d771d818347ce85043ae8681b87b6e0 (patch) | |
tree | 89c6b1cdcc86a9b7d8c2d72dd4ed13fe845656b7 /arch/arm/boot/dts/exynos4412-odroid-common.dtsi | |
parent | ARM: dts: s5pv210: adjust node names to DT spec (diff) | |
download | linux-007fda302d771d818347ce85043ae8681b87b6e0.tar.xz linux-007fda302d771d818347ce85043ae8681b87b6e0.zip |
ARM: dts: exynos: Enable DWC2 dual-role support on OdroidU3+ boards
MicroUSB port on OdroidU3+ boards can operate both as peripheral or as
host port. Till now it was configured as pheriperal only port, but it
turned out that the DWC2 driver code already handles everything needed to
support USB role-switch, so switch it to dual-role (OTG) mode. This has
no effect on OdroidU3 (without 'plus') and OdroidX2, which doesn't have
USB needed ID pin and VBUS wiring. Those will still operate correctly in
pheriperal mode only.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Link: https://lore.kernel.org/r/20201103140214.21690-1-m.szyprowski@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-odroid-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 1ca9d8b5f868..4a67390426b6 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -256,7 +256,6 @@ }; &hsotg { - dr_mode = "peripheral"; status = "okay"; vusb_d-supply = <&ldo15_reg>; vusb_a-supply = <&ldo12_reg>; |