Skip to content

Commit

Permalink
ARM: dts: Use peripheral mode for dwc3_1 on exynos5422-odroidxu3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Szyprowski authored and Krzysztof Kozlowski committed Dec 29, 2015
1 parent e8769d3 commit 997a2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@
};

&usbdrd_dwc3_1 {
dr_mode = "otg";
dr_mode = "peripheral";
};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/exynos5422-odroidxu3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@
};

&usbdrd_dwc3_1 {
dr_mode = "otg";
dr_mode = "peripheral";
};

0 comments on commit 997a2ec

Please sign in to comment.