Changes v4:
 - Take Marek's suggestions, implement usb_phy_mode function and
 introduce a weak function board_usb_phy_mode.
 - change usb_phy_enable's return value with 0.
 - reimplement board_usb_phy_mode in board code.
 - add prototype type for board_usb_phy_mode and usb_phy_mode

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 phy mode query 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         | 49 +++++++++++++++++++++++++++++
 board/freescale/mx6sxsabresd/mx6sxsabresd.c | 49 +++++++++++++++++++++++++++++
 drivers/usb/host/ehci-mx6.c                 | 27 ++++++++++++++--
 include/configs/mx6slevk.h                  | 14 +++++++++
 include/configs/mx6sxsabresd.h              | 14 +++++++++
 include/usb/ehci-fsl.h                      |  2 ++
 7 files changed, 158 insertions(+), 2 deletions(-)

-- 
1.8.4


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to