[PATCH 0/9] usb gadget update for OTG 2.0

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

 



Hi,

This is a follow-up of Macpaul Lin's previous patchset to resolve usb gadget
driver work with OTG 2.0, main changes:
1. keep one usb_otg_descriptor definition and introduce a kernel config to identify the
   OTG release version, if OTG 2.0 or later, add bcdOTG.
2. Override the usb_otg_descriptor defined by gadget driver if HW has its own config
   in new gadget options, otherwise keep all unchanged.
3. OTG features(SRP/HNP/ADP) can be decided by usb HW properties and USB driver config.
4. Change the chipidea usb driver to use the updated mechanism. 

http://www.spinics.net/lists/linux-usb/msg123927.html

Li Jun (4):
  doc: dt-binding: ci-hdrc-imx: add otg related properties
  usb: common: add API to get usb otg features from device tree
  usb: chipidea: udc: set usb gadeget's otg config
  usb: chipidea: update ci_otg_is_fsm_mode conditions

Macpaul Lin (5):
  usb: introduce OTG version number config
  usb: add USB_OTG_ADP definition
  usb: add ADP, HNP and SRP feature options to gadget structure.
  usb: gdaget: composite: override OTG capabilities when add config
  usb: gadget: composite: add USB_DT_OTG request handling

 .../devicetree/bindings/usb/ci-hdrc-imx.txt        |  6 +++
 drivers/usb/chipidea/ci.h                          |  4 +-
 drivers/usb/chipidea/core.c                        | 12 ++++++
 drivers/usb/chipidea/debug.c                       |  1 +
 drivers/usb/chipidea/udc.c                         | 19 ++++++++-
 drivers/usb/common/common.c                        | 45 ++++++++++++++++++++
 drivers/usb/core/Kconfig                           | 11 +++++
 drivers/usb/gadget/composite.c                     | 49 ++++++++++++++++++++++
 include/linux/usb/chipidea.h                       |  3 ++
 include/linux/usb/gadget.h                         |  9 ++++
 include/linux/usb/of.h                             | 15 +++++++
 include/uapi/linux/usb/ch9.h                       |  8 +++-
 12 files changed, 178 insertions(+), 4 deletions(-)

-- 
1.9.1

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