
This patch set is mainly to add board level usb support for mx6sxsabresd and mx6slevk. Add pin mux settings and implement board_ehci_hcd_init and board_usb _phy_mode.
Also in order to make the host port work for these two boards. A new weak function is introduced. Detailed info about this is in the "usb:ehci-mx6 add board_usb_phy_mode function" patch commit log.
This patch set has already been tested on mx6sxsabresd and mx6slevk board.
Changes v3: Take Marek's suggestions, replace 'return val & USBPHY_CTRL_OTG_ID' with this new function like 'return board_usb_phy_mode(index);' Detailed discussion here: http://lists.denx.de/pipermail/u-boot/2014-November/194131.html
Changes v2: Introduce a new weak function to let board have a choice to decide which mode to work at. move pinmux setting into board_init add otg polarity setting in board_ehci_hcd_init set pinmux struct static
Peng Fan (3): usb:ehci-mx6 add board_usb_phy_mode function imx:mx6sxsabresd add board level support for usb imx:mx6slevk add board level support for usb
arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 +++ board/freescale/mx6slevk/mx6slevk.c | 63 +++++++++++++++++++++++++++++ board/freescale/mx6sxsabresd/mx6sxsabresd.c | 63 +++++++++++++++++++++++++++++ drivers/usb/host/ehci-mx6.c | 16 +++++++- include/configs/mx6slevk.h | 14 +++++++ include/configs/mx6sxsabresd.h | 14 +++++++ 6 files changed, 174 insertions(+), 1 deletion(-)