diff options
author | Icenowy Zheng <icenowy@aosc.xyz> | 2017-03-25 17:50:14 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-03-27 14:45:32 +0300 |
commit | 72897fa31fcf6222a11c6ebb0bcca25628bb1f7c (patch) | |
tree | 129c841ec45489213ec88a6b7656b83f56df2401 /drivers/xen/xenbus/xenbus_dev_frontend.c | |
parent | 2e77b3afdde9c0ea514d3dec47633b5ef3c04b7c (diff) | |
download | linux-72897fa31fcf6222a11c6ebb0bcca25628bb1f7c.tar.xz |
ARM: sun8i: h2+: enable USB OTG for Orange Pi Zero board
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@aosc.xyz>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_dev_frontend.c')
0 files changed, 0 insertions, 0 deletions