Re: [PATCH v2 0/9] Add USB OTG HNP and SRP support on Chipidea usb driver

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

 



On Sat, Feb 08, 2014 at 03:00:35PM +0800, Peter Chen wrote:
> On Mon, Jan 20, 2014 at 09:56:11AM +0800, Li Jun wrote:
> > This patchset adds USB OTG HNP and SRP support on chipidea usb driver,
> > existing OTG port role swtich function by ID pin status kept unchanged,
> > based on that, if select CONFIG_USB_OTG_FSM, OTG HNP and SRP will be
> > supported.
> 
> It is better add a simple guide to show how to enable and demo OTG
> feature.
> 
> Peter
> 

I will add some descriptions to tell how to enable and demo HNP&SRP.

Li Jun
> > 
> > Reference to:
> > "On-The-Go and Embedded Host Supplement to the USB Revision 2.0 Specification July 27, 2012
> > Revision 2.0 version 1.1a"
> > 
> > Changes since v1:
> > - Move out HNP polling patch from this series, which will be a seperated patchset
> >   followed this one
> > - Change fsm timers global variables to be a structure embeded in ci_hdrc,
> >   to make multiple OTG instances can exist in one system
> > - Change some otg fsm functions to be static
> > - Re-split timer init patch to avoid a later patch changing a previous one
> >   in the same series
> > - Change timer structure memory allocation to be devm_kzalloc
> > - Update some format alignment and spelling errors
> > 
> > Li Jun (9):
> >   usb: phy-fsm: update OTG HNP state transition conditions according to
> >     OTG and EH 2.0 spec.
> >   usb: chipidea: usb OTG fsm initlization.
> >   usb: chipidea: host: vbus control change for OTG HNP.
> >   usb: chipidea: udc: driver update for OTG HNP.
> >   usb: chipidea: add OTG fsm operation functions implemenation.
> >   usb: chipidea: OTG fsm timers initialization.
> >   usb: chipidea: OTG HNP and SRP fsm implementation.
> >   usb: chipidea: add sys inputs for OTG fsm input.
> >   usb: chipidea: debug: add debug file for OTG variables show and
> >     registers dump.
> > 
> >  drivers/usb/chipidea/Makefile  |    1 +
> >  drivers/usb/chipidea/bits.h    |   14 +
> >  drivers/usb/chipidea/ci.h      |    2 +
> >  drivers/usb/chipidea/core.c    |   10 +-
> >  drivers/usb/chipidea/debug.c   |  102 +++++
> >  drivers/usb/chipidea/host.c    |   13 +-
> >  drivers/usb/chipidea/host.h    |    9 +
> >  drivers/usb/chipidea/otg.c     |   17 +-
> >  drivers/usb/chipidea/otg_fsm.c |  881 ++++++++++++++++++++++++++++++++++++++++
> >  drivers/usb/chipidea/otg_fsm.h |  141 +++++++
> >  drivers/usb/chipidea/udc.c     |   11 +-
> >  drivers/usb/phy/phy-fsm-usb.c  |    9 +-
> >  12 files changed, 1198 insertions(+), 12 deletions(-)
> >  create mode 100644 drivers/usb/chipidea/otg_fsm.c
> >  create mode 100644 drivers/usb/chipidea/otg_fsm.h
> > 
> > -- 
> > 1.7.8
> > 
> > 
> 
> -- 
> 
> Best Regards,
> Peter Chen
> 

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