[PATCH 00/15] usb: dwc2: Add support for dual-role

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Dinh Nguyen <dinguyen@xxxxxxxxxx>

Hi,

This patch series combines the dwc2 host and gadget driver into a single
dual-role driver. I have tested this on the SOCFPGA platform. I compile
tested for bcm2835_defconfig and a PCI platform.

I split up the patches to make the review a bit easier, but each individual
patch can't really stand on it's own. Any comments/testing is greatly
appreciated.

I have pushed this to:

git://git.rocketboards.org/linux-socfpga-next.git/dwc2_dual_role_v1


Dinh Nguyen (15):
  usb: dwc2: Moves s3c_hsotg gadget data structure into dwc2_hsotg
  usb: dwc2: add necessary function declares for dual role
  usb: dwc2: gadget: convert gadget driver to use common dwc2_hsotg
    structure
  usb: dwc2: gadget: Change the gadget probe function into gadget_init
  usb: dwc2: Move gadget interrupts to common interrupt handler
  usb: dwc2: gadget: remove gadget module defines
  usb: dwc2: gadget: Do not fail probe if there isn't a clock node
  usb: dwc2: Add the appropriate init calls in platform code
  usb: dwc2: move allocation of core_params
  usb: dwc2: initialize the spin_lock for both host and gadget
  usb: dwc2: Add suspend/resume for gadget
  usb: dwc2: move dwc2_set_all_params to platform code
  usb: dwc2: check that the host work queue is valid
  usb: dwc2: pci: Update pci portion of the dwc2 driver
  usb: dwc2: Update Kconfig to support dual-role

 drivers/usb/dwc2/Kconfig     |   52 +-
 drivers/usb/dwc2/Makefile    |   21 +-
 drivers/usb/dwc2/core.c      |   15 +
 drivers/usb/dwc2/core.h      |   62 +-
 drivers/usb/dwc2/core_intr.c |  119 +++-
 drivers/usb/dwc2/gadget.c    | 1433 +++++++++++++++++-------------------------
 drivers/usb/dwc2/hcd.c       |   23 +-
 drivers/usb/dwc2/hcd.h       |   12 +-
 drivers/usb/dwc2/pci.c       |   28 +-
 drivers/usb/dwc2/platform.c  |   58 +-
 10 files changed, 902 insertions(+), 921 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux