u-boot/drivers/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
..
eth usb: eth: fix Makefile 2014-11-07 22:03:44 +01:00
gadget usb: s3c-otg: Allow custom gusbcfg 2014-11-07 16:32:02 +01:00
host usb:ehci-mx6 add phy mode query function 2014-11-14 20:56:54 +01:00
musb usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
musb-new usb: musb-new: core: set MUSB_POWER_HSENAB in MUSB_POWER for host mode 2014-10-06 21:04:44 +02:00
phy usb: phy: omap_usb_phy: implement usb_phy_power() for AM437x 2014-07-09 22:11:51 +02:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
Kconfig usb: add basic USB configs in Kconfig 2014-11-12 00:21:18 +09:00