diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-13 14:37:45 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-07-25 12:15:47 +0200 |
commit | d2332303efc00d35af7f3d8b025663965862b0e3 (patch) | |
tree | fdc269cdef6730cfe7c96b1e16061c7ed9f02887 /fs | |
parent | phy: dt bindings: add NXP LPC18xx/43xx USB OTG PHY bindings (diff) | |
download | linux-d2332303efc00d35af7f3d8b025663965862b0e3.tar.xz linux-d2332303efc00d35af7f3d8b025663965862b0e3.zip |
phy-sun4i-usb: Add id and vbus detection support for the otg phy (phy0)
The usb0 phy is connected to an OTG controller, and as such needs some special
handling:
1) It allows explicit control over the pullups, enable these on phy_init and
disable them on phy_exit.
2) It has bits to signal id and vbus detect to the musb-core, add support for
for monitoring id and vbus detect gpio-s for use in dual role mode, and set
these bits to the correct values for operating in host only mode when no
gpios are specified in the devicetree.
While updating the devicetree binding documentation also add documentation
for the sofar undocumented usage of regulators for vbus for all 3 phys.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions