[RFC v3 00/11] ci13xxx: langwell/penwell support and some fixes

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

 



Hi,

This is the 3rd version of the patchset to support langwell/penwell version
of ChipIdea block together with some fixes and reworks that are necessary or
will be useful for future driver improvements.

This patchset also includes conversion to platform_device, which in case if
msm is only compile-tested. While at it, I have also converted "choice" of
UDC controllers into a menu, since we can probably have more than one UDC
in the system, at least theoretically.

It also converts ci13xxx_udc to the "new style", so that we can finally get
rid of the global _udc pointer and theoretically can now have as many chipidea
gadgets in the system as we please.

New since the previous version:
  * one tiny cleanup added
  * "rename register layouts" redone to address Felipe's suggestion and now
    merges access fuctions for different register blocks, although it doesn't
    have impact on the final interface (see mail thread [1] on chipidea
    register access difficulties)
  * register access tables are filled with absolute register addresses at
    probe time to avoid extra branching and whatnot
  * "new style" gadget.

Alexander Shishkin (11):
  usb: gadget: ci13xxx: drop needless parens
  usb: gadget: ci13xxx: fix ep list removal in gadget unregistering
    code
  usb: gadget: ci13xxx: initialize ep0{out,in} dynamically
  usb: gadget: ci13xxx: rename register layouts
  usb: gadget: ci13xxx_pci: add langwell/penwell pci ids
  usb: gadget: ci13xxx: move global variables inside struct ci13xxx
  usb: gadget: ci13xxx: redo register access
  usb: gadget: conversion of controllers choice to menu
  usb: gadget: ci13xxx: convert to platform device
  usb: gadget: ci13xxx: replace home-brewed logging with
    dev_{err,warn,info}
  usb: gadget: ci13xxx: convert to new style

 drivers/usb/gadget/Kconfig       |   28 +-
 drivers/usb/gadget/Makefile      |    1 +
 drivers/usb/gadget/ci13xxx_msm.c |   48 +-
 drivers/usb/gadget/ci13xxx_pci.c |  114 ++--
 drivers/usb/gadget/ci13xxx_udc.c | 1107 ++++++++++++++++++++------------------
 drivers/usb/gadget/ci13xxx_udc.h |   77 ++-
 6 files changed, 734 insertions(+), 641 deletions(-)

[1] http://marc.info/?t=133406814900009&r=1&w=2

-- 
1.7.10
--
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