[linux-sunxi] [PATCH v4 7/8] ARM: sun8i: h2+: enable USB OTG for Orange Pi Zero board
Chen-Yu Tsai
wens at csie.org
Thu Mar 23 19:57:54 PDT 2017
On Mon, Mar 20, 2017 at 12:31 AM, Icenowy Zheng <icenowy at aosc.xyz> wrote:
> Orange Pi Zero board features a USB OTG port, which has a ID pin, and
> can be used to power up the board. However, even if the board is powered
> via +5V pin in GPIO/expansion headers, the VBUS in the OTG port cannot
> be powered up, thus it's impossible to use it in host mode with simple
> OTG cables.
>
> Add support for it in peripheral mode.
>
> If someone really want to use it in host mode, the mode of PHY can be
> switch via sysfs, then use a powered USB OTG cable or powered USB HUB to
> power up external USB devices.
>
> Signed-off-by: Icenowy Zheng <icenowy at aosc.xyz>
Acked-by: Chen-Yu Tsai <wens at csie.org>
More information about the linux-arm-kernel
mailing list