u-boot-brain/include/usb
Peng Fan 229dbba9b1 usb:ehci-mx6 add phy mode query function
usb_phy_enable should return status bit, but not phy mode bit, thus
add a new function usb_phy_mode to query the PHY for it's mode and
make usb_phy_enable just return 0 but not 'phy_ctrl & USBPHY_CTRL_OTG_ID'.

Include a new board weak function board_usb_phy_mode. If board code
does not reimplement this function, it just call usb_phy_mode and return
usb_phy_mode's return value. The reason to include such a weak function
is: " SOC OTG core <--connect--> board HOST port, but no pin id for
the board host port, so board can not use usb_phy_mode to return the
phy mode, but define it's own rule."

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Ye Li <B37916@freescale.com>
2014-11-14 20:56:54 +01:00
..
ci_udc.h usb: mv_udc: Rename to ci_udc 2014-02-06 04:48:15 +01:00
designware_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
ehci-fsl.h usb:ehci-mx6 add phy mode query function 2014-11-14 20:56:54 +01:00
fotg210.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fusbh200.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lin_gadget_compat.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
mpc8xx_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
pxa27x_udc.h usb: udc: add udc.h include file 2013-10-20 23:46:38 +02:00
s3c_udc.h usb: s3c-otg: Allow custom gusbcfg 2014-11-07 16:32:02 +01:00
udc.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00
ulpi.h usb: ulpi: add indicator configuration function 2012-10-15 11:54:01 -07:00