]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: Use peripheral mode for dwc3_1 on exynos5422-odroidxu3
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 19 Nov 2015 11:51:22 +0000 (12:51 +0100)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 29 Dec 2015 00:07:43 +0000 (09:07 +0900)
DWC3 device found on Exynos SoCs cannot work in OTG mode alone, because
it lacks some OTG related control part. OTG mode operation is possible
only with external hardware logic (usually GPIO-based) specific to
the board. Right now, however, there is no driver for such logic and no
bindings, so the OTG mode is dysfunctional at all (this means that it
doesn't work as a peripheral nor as a host). This patch sets the operation
mode to peripheral to get DWC3_1 device at least somehow working. This can
be later updated, when proper OTG driver and bindings get developed.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
arch/arm/boot/dts/exynos5422-odroidxu3.dts

index b1b36081f343960b61df6515fb2f90201b7f2d96..2ae1cf41dcb62ee5ebbe092a5f80a5a1bec0abb7 100644 (file)
@@ -67,5 +67,5 @@ &pwm {
 };
 
 &usbdrd_dwc3_1 {
-       dr_mode = "otg";
+       dr_mode = "peripheral";
 };
index 0c0bbdbfd85f5b2761617aee9af82cb69a339b3c..432406db85de8599cf0dc33fa01dbaabda387b19 100644 (file)
@@ -98,5 +98,5 @@ &pwm {
 };
 
 &usbdrd_dwc3_1 {
-       dr_mode = "otg";
+       dr_mode = "peripheral";
 };