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

Jun, I have not reviewed otg fsm, I plan to do it after you
gave us HOWTO for test.

Please using my ci-for-usb-next branch for your v3 patch.
Besides, for your HNP polling patchset, please submit it
after I queue your otg patchset, since otg fsm is a big job,
I want to finalize it first, and your HNP polling patchset
has also based on it.

-- 

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