mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] i.MX chipidea support
Date: Thu, 13 Dec 2012 18:00:35 +0100	[thread overview]
Message-ID: <1355418044-27452-1-git-send-email-s.hauer@pengutronix.de> (raw)


The following adds support for the chipidea core of the i.MX SoCs.
It is somewhat designed after the kernel chipidea driver. A usb-misc
driver matches to the misc registers and allows a driver which binds
to the usb devices themselves to configure the misc registers. If ULPI
support is selected, the ULPI phy will be configured automatically.
This is done to simplify the board code for USB. Currently no support
for USB device is available, that could be added later. This series
also contains a patch which allows it to register a EHCI HCD without
matching to a device, which is needed for the chipidea support.

Sascha

----------------------------------------------------------------
Sascha Hauer (9):
      USB ehci: Allow to register independently from device
      USB i.MX: Add chipidea driver support
      ARM i.MX27: Add USB device functions
      ARM i.MX51: Add USB device functions
      ARM i.MX31: Add USB device functions
      ARM i.MX pcm038: switch to chipidea support
      pcm038: Stop ongoing ULPI transfers before registering the transceiver
      fixup! USB i.MX: Add chipidea driver support
      ARM i.MX pcm038: Update defconfig for chipidea driver

 arch/arm/boards/pcm038/pcm970.c                |   42 +--
 arch/arm/configs/pcm038_defconfig              |   10 +-
 arch/arm/mach-imx/devices.c                    |    5 +
 arch/arm/mach-imx/imx27.c                      |    1 +
 arch/arm/mach-imx/imx31.c                      |    1 +
 arch/arm/mach-imx/imx51.c                      |    1 +
 arch/arm/mach-imx/include/mach/devices-imx27.h |   15 +
 arch/arm/mach-imx/include/mach/devices-imx31.h |   15 +
 arch/arm/mach-imx/include/mach/devices-imx51.h |   15 +
 arch/arm/mach-imx/include/mach/devices.h       |    2 +
 drivers/usb/Kconfig                            |    2 +
 drivers/usb/Makefile                           |    1 +
 drivers/usb/host/ehci-hcd.c                    |   46 +--
 drivers/usb/imx/Kconfig                        |   15 +
 drivers/usb/imx/Makefile                       |    1 +
 drivers/usb/imx/chipidea-imx.c                 |   91 ++++++
 drivers/usb/imx/imx-usb-misc.c                 |  410 ++++++++++++++++++++++++
 include/usb/chipidea-imx.h                     |   46 +++
 include/usb/ehci.h                             |   17 +-
 19 files changed, 683 insertions(+), 53 deletions(-)
 create mode 100644 drivers/usb/imx/Kconfig
 create mode 100644 drivers/usb/imx/Makefile
 create mode 100644 drivers/usb/imx/chipidea-imx.c
 create mode 100644 drivers/usb/imx/imx-usb-misc.c
 create mode 100644 include/usb/chipidea-imx.h

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2012-12-13 17:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 17:00 Sascha Hauer [this message]
2012-12-13 17:00 ` [PATCH 1/9] USB ehci: Allow to register independently from device Sascha Hauer
2012-12-13 17:00 ` [PATCH 2/9] USB i.MX: Add chipidea driver support Sascha Hauer
2012-12-13 17:00 ` [PATCH 3/9] ARM i.MX27: Add USB device functions Sascha Hauer
2012-12-13 17:00 ` [PATCH 4/9] ARM i.MX51: " Sascha Hauer
2012-12-13 17:00 ` [PATCH 5/9] ARM i.MX31: " Sascha Hauer
2012-12-13 17:00 ` [PATCH 6/9] ARM i.MX pcm038: switch to chipidea support Sascha Hauer
2012-12-13 17:00 ` [PATCH 7/9] pcm038: Stop ongoing ULPI transfers before registering the transceiver Sascha Hauer
2012-12-13 17:00 ` [PATCH 8/9] fixup! USB i.MX: Add chipidea driver support Sascha Hauer
2012-12-13 17:00 ` [PATCH 9/9] ARM i.MX pcm038: Update defconfig for chipidea driver Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1355418044-27452-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox