summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-sunxi
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 /arch/arm/include/asm/arch-sunxi
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 'arch/arm/include/asm/arch-sunxi')
-rw-r--r--arch/arm/include/asm/arch-sunxi/usb_phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/usb_phy.h b/arch/arm/include/asm/arch-sunxi/usb_phy.h
index b7b831e24a..5a9cacb6f4 100644
--- a/arch/arm/include/asm/arch-sunxi/usb_phy.h
+++ b/arch/arm/include/asm/arch-sunxi/usb_phy.h
@@ -17,4 +17,5 @@ void sunxi_usb_phy_exit(int index);
void sunxi_usb_phy_power_on(int index);
void sunxi_usb_phy_power_off(int index);
int sunxi_usb_phy_vbus_detect(int index);
+int sunxi_usb_phy_id_detect(int index);
void sunxi_usb_phy_enable_squelch_detect(int index, int enable);
OpenPOWER on IntegriCloud