[U-Boot] [PATCH 0/9] MX5x USB support

Marek Vasut
2011-12-07T18:33:09Z

This patchset adds the USB support for MX5x. Most of the code is based on work
of Wolfgang Grandegger with modifications done by various other authors. I also
included version of ULPI support code cleaned up by Igor Grinberg.

NOTE: I'd really love to get this code into .12 release. Remy, Wolfgang, do you
think it'd be possible? I'd really help adoption of the MX5x USB code greatly as
well as cleanup of the ULPI code (which is sadly in a bad shape).

Jana Rapava (1):
USB: Add generic ULPI layer and a viewport

Marek Vasut (4):
USB: MX5: Abstract out mx51 USB pixmux configuration
USB: MX5: Add MX5 usb post-init callback
USB: EHCI: Allow EHCI post-powerup configuration in board files
USB: efikamx: Enable USB on EfikaMX and EfikaSB

Wolfgang Grandegger (4):
USB: MX5: add helper functions to enable USB clocks
USB: MX5: add generic USB EHCI support for mx51 and mx53
USB: mx53loco: add end enable USB host support on port 1
USB: mx51evk: add end enable USB host support on port 1

Makefile | 1 +
arch/arm/cpu/armv7/mx5/clock.c | 72 +++++++
arch/arm/include/asm/arch-mx5/clock.h | 5 +
arch/arm/include/asm/arch-mx5/crm_regs.h | 3 +
board/efikamx/Makefile | 4 +
board/efikamx/efikamx-usb.c | 210 +++++++++++++++++++++
board/efikamx/efikamx.c | 15 ++
board/freescale/mx51evk/mx51evk.c | 62 ++++++
board/freescale/mx53loco/mx53loco.c | 10 +
drivers/usb/host/Makefile | 1 +
drivers/usb/host/ehci-hcd.c | 12 +-
drivers/usb/host/ehci-mx5.c | 255 +++++++++++++++++++++++++
drivers/usb/ulpi/Makefile | 44 +++++
drivers/usb/ulpi/ulpi-viewport.c | 118 ++++++++++++
drivers/usb/ulpi/ulpi.c | 227 +++++++++++++++++++++++
include/configs/efikamx.h | 47 ++++-
include/configs/mx51evk.h | 13 ++
include/configs/mx53loco.h | 13 ++
include/usb/ehci-fsl.h | 16 ++
include/usb/ulpi.h | 298 ++++++++++++++++++++++++++++++
20 files changed, 1418 insertions(+), 8 deletions(-)
create mode 100644 board/efikamx/efikamx-usb.c
create mode 100644 drivers/usb/host/ehci-mx5.c
create mode 100644 drivers/usb/ulpi/Makefile
create mode 100644 drivers/usb/ulpi/ulpi-viewport.c
create mode 100644 drivers/usb/ulpi/ulpi.c
create mode 100644 include/usb/ulpi.h

Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Jana Rapava <fermata7@gmail.com>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Simon Glass <sjg@chromium.org>