diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-14 17:29:53 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-07-25 11:22:54 +0200 |
commit | 48c06c98ecd99b2a4752461b6cc5c4a05d2f616a (patch) | |
tree | a788b50d91c8e39faa524d07454d5197fc5e3486 /arch/arm/include/asm/arch-sunxi | |
parent | de1502c937c75527a08b40380ceb4824ae9ac86c (diff) | |
download | u-boot-imx-48c06c98ecd99b2a4752461b6cc5c4a05d2f616a.zip u-boot-imx-48c06c98ecd99b2a4752461b6cc5c4a05d2f616a.tar.gz u-boot-imx-48c06c98ecd99b2a4752461b6cc5c4a05d2f616a.tar.bz2 |
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.h | 1 |
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 b7b831e..5a9cacb 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); |