summaryrefslogtreecommitdiffstats
path: root/include/usb/ulpi.h
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-03-24 18:00:37 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-02 09:32:53 +0200
commitbafda33463de1a442b2106e6662171b4e7064408 (patch)
tree6d8f93e55b0a6e0f9a6c555f8b5344bbf0cb02fb /include/usb/ulpi.h
parent2079f13611ba75d9eb88fcaa6d63a91087f99b73 (diff)
downloadbarebox-bafda33463de1a442b2106e6662171b4e7064408.tar.gz
barebox-bafda33463de1a442b2106e6662171b4e7064408.tar.xz
Move set_vbus_power code to ULPI driver
This is ULPI-specific, not ISP1504. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/ulpi.h')
-rw-r--r--include/usb/ulpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/ulpi.h b/include/usb/ulpi.h
index d841a985ad..75197e1a9d 100644
--- a/include/usb/ulpi.h
+++ b/include/usb/ulpi.h
@@ -5,6 +5,7 @@ int ulpi_set(u8 bits, int reg, void __iomem *view);
int ulpi_clear(u8 bits, int reg, void __iomem *view);
int ulpi_read(int reg, void __iomem *view);
int ulpi_init(void __iomem *view);
+int ulpi_set_vbus(void __iomem *view, int on);
/* ULPI register addresses */
#define ULPI_VID_LOW 0x00 /* Vendor ID low */