Skip to contentSkip to conversation

ARM: dts: exynos5422-odroidxu3*: use peripheral mode for dwc3_1

PATCH In review Marek Szyprowski 2 participants 2 messages Nov 19, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: exynos5422-odroidxu3*: use peripheral mode for dwc3_1

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 disfunctional 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.

---
 arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts | 2 +-
 arch/arm/boot/dts/exynos5422-odroidxu3.dts      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts +1 -1
index b1b3608..2ae1cf4 100644
@@ -67,5 +67,5 @@
 };
 
 &usbdrd_dwc3_1 {
-	dr_mode = "otg";
+	dr_mode = "peripheral";
 };
arch/arm/boot/dts/exynos5422-odroidxu3.dts +1 -1
index 0c0bbdb..432406d 100644
@@ -98,5 +98,5 @@
 };
 
 &usbdrd_dwc3_1 {
-	dr_mode = "otg";
+	dr_mode = "peripheral";
 };
Signature · 1 line
1.9.2
Reviewed-by on v1 1/1
#1 lore raw

W dniu 19.11.2015 o 20:51, Marek Szyprowski pisze:

Quoted 5 lines

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 disfunctional at all (this means that it

s/disfunctional/dysfunctional/
(no need to resend, this can be fixed when applying)

Quoted 10 lines

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.

---
 arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts | 2 +-
 arch/arm/boot/dts/exynos5422-odroidxu3.dts      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Explanation makes sense.

Best regards,
Krzysztof