Skip to content

am57xx: am43xx: get usb host working

Roger Quadros u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v10 of 4 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ARM: OMAP5+: Provide enable/disable_usb_clocks() for CONFIG_USB_XHCI_OMAParch/arm/cpu/armv7/am33xx/clock_am43xx.c arch/arm/cpu/armv7/omap5/hw_data.c+2 -21 reply
2/4ARM: AM57xx: AM43xx: Fix USB hostboard/ti/am43xx/board.c board/ti/am57xx/board.c+55 -571 reply
3/4dra7xx: Enable USB_PHY3 32KHz clockarch/arm/cpu/armv7/omap5/hw_data.c arch/arm/cpu/armv7/omap5/prcm-regs.c arch/arm/include/asm/omap_common.h+14 -21 reply
4/4usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configurationdrivers/usb/phy/omap_usb_phy.c+41 -151 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [U-Boot] [u-boot][PATCH v2 0/4] am57xx: am43xx: get usb host working

Hi,

I was under the wrong impression earlier that CONFIG_USB_DWC3 is needed for USB HOST operation, but it seems it is not so. Just CONFIG_XHCI_DWC3 and CONFIG_XHCI_OMAP are sufficient to get USB host working.

So the real problem was that some offending commits didn't define enable_usb_clocks() and board_usb_init for the XHCI host only case.

Patches 1 and 2 fix this and get USB host working on am57xx and am43xx.
NOTE: my am437xx is broken so I've only tested this on am57xx-evm.

The remaining 2 patches attempt to fix USB3 PHY to get Super-Speed host functional but I haven't yet got Super-Speed working in u-boot. Patch 4 does fix an issue with Kernel failing to detect Super-Speed devices.

cheers,
-roger

Roger Quadros (4):
ARM: OMAP5+: Provide enable/disable_usb_clocks() for
CONFIG_USB_XHCI_OMAP
ARM: AM57xx: AM43xx: Fix USB host
dra7xx: Enable USB_PHY3 32KHz clock
usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configuration

 arch/arm/cpu/armv7/am33xx/clock_am43xx.c |  2 +-
 arch/arm/cpu/armv7/omap5/hw_data.c       | 16 +++++++--
 arch/arm/cpu/armv7/omap5/prcm-regs.c     |  1 +
 arch/arm/include/asm/omap_common.h       |  1 +
 board/ti/am43xx/board.c                  | 58 ++++++++++++++++----------------
 board/ti/am57xx/board.c                  | 54 ++++++++++++++---------------
 drivers/usb/phy/omap_usb_phy.c           | 56 +++++++++++++++++++++---------
 7 files changed, 112 insertions(+), 76 deletions(-)
Signature · 1 line
2.7.4