Skip to content

Add board level usb support for mxsxsabresd and mx6slevk

Peng Fan u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 0 repliesSuperseded
  3. v23 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches0 repliesSuperseded

Changes in v4 from the cover letter

- 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

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb:ehci-mx6 add phy mode query functiondrivers/usb/host/ehci-mx6.c include/usb/ehci-fsl.h+27 -20 replies
2/3imx:mx6sxsabresd add board level support for usbboard/freescale/mx6sxsabresd/mx6sxsabresd.c include/configs/mx6sxsabresd.h+63 -00 replies
3/3imx:mx6slevk add board level support for usbarch/arm/include/asm/arch-mx6/mx6sl_pins.h board/freescale/mx6slevk/mx6slevk.c include/configs/mx6slevk.h+68 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/3] Add board level usb support for mxsxsabresd and mx6slevk

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(-)
Signature · 1 line
1.8.4