summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-03-22 18:07:12 +0100
committerHans de Goede <hdegoede@redhat.com>2015-04-15 16:17:17 +0200
commitebd468b2d26660ff7811e37cc64fa2369d4b5fff (patch)
treecc53c766c49aa654db0197fd8698f4672bd5b6cb /board
parent1a59ecff804ffd96ab11001f722b8311296e6e5b (diff)
downloadtalos-obmc-uboot-ebd468b2d26660ff7811e37cc64fa2369d4b5fff.tar.gz
talos-obmc-uboot-ebd468b2d26660ff7811e37cc64fa2369d4b5fff.zip
sunxi: common VBUS detection logic in usbc
VBUS detection could be needed not only by the musb code (to prevent host mode), but also by e.g. gadget drivers to start only when a cable is connected. In addition, this allows more flexibility in vbus detection, as it could easily be extended to other USBC indexes. Eventually, this would help making musb support independent from a hardcoded USB controller index (0). Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 2fcab602db..98228e87ff 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -229,7 +229,6 @@ config USB0_VBUS_PIN
config USB0_VBUS_DET
string "Vbus detect pin for usb0 (otg)"
- depends on USB_MUSB_SUNXI
default ""
---help---
Set the Vbus detect pin for usb0 (otg). This takes a string in the
OpenPOWER on IntegriCloud