summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2018-09-28 17:54:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-24 08:22:49 +0100
commitc26aff78aa2bf3b4449cef83057276ed55a0d7f4 (patch)
tree705e678c0801d253dbe0442fc4950493e294db20 /arch/arm
parent358455734dd7c1a1fba346cab22f4184b0ce899b (diff)
ARM: dts: omap5: enable OTG role for DWC3 controller
[ Upstream commit 656c1a65ab555ee5c7cd0d6aee8ab82ca3c1795f ] Since SMPS10 and OTG cable detection extcon are described here, and work to enable OTG power when an OTG cable is plugged in, we can define OTG mode in the controller (which is disabled by default in omap5.dtsi). Tested on OMAP5EVM and Pyra. Suggested-by: Roger Quadros <rogerq@ti.com> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/omap5-board-common.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi
index 7824b2631cb6..f65343f8e1d6 100644
--- a/arch/arm/boot/dts/omap5-board-common.dtsi
+++ b/arch/arm/boot/dts/omap5-board-common.dtsi
@@ -694,6 +694,10 @@
vbus-supply = <&smps10_out1_reg>;
};
+&dwc3 {
+ dr_mode = "otg";
+};
+
&mcspi1 {
};