summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-14 17:29:53 +0200
committerHans de Goede <hdegoede@redhat.com>2015-07-25 11:22:54 +0200
commit48c06c98ecd99b2a4752461b6cc5c4a05d2f616a (patch)
treea788b50d91c8e39faa524d07454d5197fc5e3486 /board
parentde1502c937c75527a08b40380ceb4824ae9ac86c (diff)
downloadtalos-obmc-uboot-48c06c98ecd99b2a4752461b6cc5c4a05d2f616a.tar.gz
talos-obmc-uboot-48c06c98ecd99b2a4752461b6cc5c4a05d2f616a.zip
sunxi: usb-phy: Add support for reading otg id pin value
Add support for reading the id pin value of the otg connector to the usb phy code. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 2a1cd3cf3b..441c880813 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -294,6 +294,13 @@ config USB0_VBUS_DET
Set the Vbus detect pin for usb0 (otg). This takes a string in the
format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
+config USB0_ID_DET
+ string "ID detect pin for usb0 (otg)"
+ default ""
+ ---help---
+ Set the ID detect pin for usb0 (otg). This takes a string in the
+ format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H.
+
config USB1_VBUS_PIN
string "Vbus enable pin for usb1 (ehci0)"
default "PH6" if MACH_SUN4I || MACH_SUN7I
OpenPOWER on IntegriCloud