]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-sunxi/usb_phy.h
sunxi: musb: Power off OTG port VBUS when disabled
[u-boot] / arch / arm / include / asm / arch-sunxi / usb_phy.h
index b7b831e24aaa9c4960ff065a9136522768424d49..cef6c985bc8d46c74dd11cdaac712e1b45f7975f 100644 (file)
@@ -17,4 +17,12 @@ 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);
+
+/* Not really phy related, but we have to declare this somewhere ... */
+#if defined(CONFIG_USB_MUSB_HOST) || defined(CONFIG_USB_MUSB_GADGET)
+void sunxi_musb_board_init(void);
+#else
+#define sunxi_musb_board_init()
+#endif