ARM: sun6i: a31s: primo81: Change USB OTG to OTG mode
authorChen-Yu Tsai <wens@csie.org>
Fri, 9 Jun 2017 16:05:48 +0000 (00:05 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 14 Jun 2017 19:27:19 +0000 (21:27 +0200)
commit723ca929a507a05bf4638f620b284f25d2047cf3
treed5451e5f03b18d9c7d06f9cd9c7c95b0ffe28b2f
parent0e9d528f0702ee07216a7f1d2a55cee0b23a3bba
ARM: sun6i: a31s: primo81: Change USB OTG to OTG mode

Now that we have support for the AXP221 PMIC's USB VBUS detection and
DRIVEVBUS vbus control, we can use the USB OTG port in proper OTG mode.

This patch enables the aforementioned PMIC functions, adds the OTG ID
detection pin to the USB PHY node, and changes the mode of USB OTG to
"otg".

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31s-primo81.dts