]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: sun8i: h3: bananapi-m2-plus: Enable USB OTG
authorChen-Yu Tsai <wens@csie.org>
Wed, 19 Apr 2017 05:09:19 +0000 (13:09 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 14 May 2017 06:32:32 +0000 (08:32 +0200)
commitef00b70d386499aa110a03fa283e35f5839f13fa
tree992b6a382a52f807750b8348e1d8d7c842f07703
parent52826587a44f55e958e89c6f21bfdaadf0273ac8
ARM: sun8i: h3: bananapi-m2-plus: Enable USB OTG

The Bananapi M2 Plus has a USB OTG port that can be used in both
powered host mode and peripheral mode. When in peripheral mode,
the port does not power the board. There is no VBUS sensing on
the port.

This patch adds the regulator controlling VBUS on the OTG port,
the GPIO for the ID detect pin, and enables the USB OTG and host
controllers.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts