commit | 8665c18bece7965c3690ac3824bef2f97bae3d71 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Jun 13 14:37:51 2015 +0200 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Sat Jul 25 15:45:47 2015 +0530 |
tree | 553dbafc72dd14fe8d5d74a155fe61289400f968 | |
parent | 1aedf3a7a47b8bbd38c147eeb0c83816c5590215 [diff] |
phy-sun4i-usb: Add support for monitoring vbus via a power-supply On some boards there is no vbus_det gpio pin, instead vbus-detection for otg can be done via the pmic. This commit adds support for monitoring vbus_det via the power_supply exported by the pmic, enabling support for otg on these boards. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>