summaryrefslogtreecommitdiffstats
path: root/drivers/phy/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-13 14:37:51 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2015-07-25 15:45:47 +0530
commit8665c18bece7965c3690ac3824bef2f97bae3d71 (patch)
tree553dbafc72dd14fe8d5d74a155fe61289400f968 /drivers/phy/Kconfig
parent1aedf3a7a47b8bbd38c147eeb0c83816c5590215 (diff)
downloadlinux-8665c18bece7965c3690ac3824bef2f97bae3d71.tar.bz2
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>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r--drivers/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index c0c1ad2e2c01..0fe9bff7b37b 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -209,6 +209,7 @@ config PHY_SUN4I_USB
depends on ARCH_SUNXI && HAS_IOMEM && OF
depends on RESET_CONTROLLER
depends on EXTCON
+ depends on POWER_SUPPLY
select GENERIC_PHY
help
Enable this to support the transceiver that is part of Allwinner