linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: Ralf Baechle <ralf@linux-mips.org>,
	linux-mips <linux-mips@linux-mips.org>,
	linux-usb@vger.kernel.org, Greg Kroah-Hartman <gregkh@suse.de>
Subject: [PATCH 0/2] USB: Add USB HCD for Octeon SOCs.
Date: Wed, 07 Oct 2009 17:13:51 -0700	[thread overview]
Message-ID: <4ACD2EBF.8020901@caviumnetworks.com> (raw)

The subject line kind of says it all.

Some members of the Cavium Networks Octeon family of SOCs contain the
Synopsys DWC-OTG USB controller.  This patch set adds the
corresponding driver.

The first patch adds between zero and two Octeon platform devices.
The second is the driver.

I have done a little bit of clean-up on the driver code, but
undoubtedly the careful scrutiny of the USB maintainers will uncover
more opportunities for improvement.  I look foreword to seeing any
suggestions for how the code might be changed so that it could be
merged.


I will reply with the two patches.

David Daney (2):
   MIPS: Octeon: Add USB platform device.
   USB: Add HCD for Octeon SOC

  arch/mips/cavium-octeon/octeon-platform.c      |  105 +
  arch/mips/include/asm/octeon/cvmx-usbcx-defs.h | 1199 ++++++++++
  arch/mips/include/asm/octeon/cvmx-usbnx-defs.h |  760 +++++++
  drivers/usb/host/Kconfig                       |    8 +
  drivers/usb/host/Makefile                      |    1 +
  drivers/usb/host/dwc_otg/Kbuild                |   16 +
  drivers/usb/host/dwc_otg/dwc_otg_attr.c        |  854 +++++++
  drivers/usb/host/dwc_otg/dwc_otg_attr.h        |   63 +
  drivers/usb/host/dwc_otg/dwc_otg_cil.c         | 2887 
++++++++++++++++++++++++
  drivers/usb/host/dwc_otg/dwc_otg_cil.h         |  866 +++++++
  drivers/usb/host/dwc_otg/dwc_otg_cil_intr.c    |  689 ++++++
  drivers/usb/host/dwc_otg/dwc_otg_driver.h      |   63 +
  drivers/usb/host/dwc_otg/dwc_otg_hcd.c         | 2878 
+++++++++++++++++++++++
  drivers/usb/host/dwc_otg/dwc_otg_hcd.h         |  661 ++++++
  drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c    | 1890 ++++++++++++++++
  drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c   |  695 ++++++
  drivers/usb/host/dwc_otg/dwc_otg_octeon.c      | 1078 +++++++++
  drivers/usb/host/dwc_otg/dwc_otg_plat.h        |  236 ++
  drivers/usb/host/dwc_otg/dwc_otg_regs.h        | 2355 +++++++++++++++++++
  19 files changed, 17304 insertions(+), 0 deletions(-)
  create mode 100644 arch/mips/include/asm/octeon/cvmx-usbcx-defs.h
  create mode 100644 arch/mips/include/asm/octeon/cvmx-usbnx-defs.h
  create mode 100644 drivers/usb/host/dwc_otg/Kbuild
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_attr.c
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_attr.h
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_cil.c
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_cil.h
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_cil_intr.c
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_driver.h
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_hcd.c
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_hcd.h
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_hcd_queue.c
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_octeon.c
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_plat.h
  create mode 100644 drivers/usb/host/dwc_otg/dwc_otg_regs.h

             reply	other threads:[~2009-10-08  0:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08  0:13 David Daney [this message]
2009-10-08  0:15 ` [PATCH 1/2] MIPS: Octeon: Add USB platform device David Daney
     [not found]   ` <39A458B3-45D1-405E-A3F1-E41A6DB7EDE8@lysator.liu.se>
2009-10-08 21:03     ` David Daney
     [not found]       ` <200910090935.55346.sr@denx.de>
2009-10-09 15:39         ` David Daney
2009-10-08  0:15 ` [PATCH 2/2] USB: Add HCD for Octeon SOC David Daney
2009-10-08 17:09 ` [PATCH 0/2] USB: Add USB HCD for Octeon SOCs David Daney
2009-10-08 20:55   ` Greg KH
2009-10-08 23:06     ` David Daney
2009-10-08 21:07   ` Ralf Baechle
2009-10-10  1:08   ` Ralf Baechle

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=4ACD2EBF.8020901@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=gregkh@suse.de \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ralf@linux-mips.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;
as well as URLs for NNTP newsgroup(s).