HNP polling is a mechanism which allows the OTG device currently acting as host
to determine when the other attached OTG device wishes to take the host role.
When an OTG host, which supports HNP, is connected to an OTG peripheral which
also supports HNP it shall poll the peripheral regularly to determine whether
it requires a role-swap and grant this at the earliest opportunity.
Li Jun (7):
usb: gadget: add host_requestf_flag in usb_gadget for OTG HNP
usb: common: otg-fsm: start HNP polling timer in host state
usb: common: otg-fsm: add HNP polling implememtation
usb: chipidea: udc: add OTG status request handling
usb: chipidea: otg_fsm: add HNP polling support
usb: common: otg-fsm: clear host_request_flag when leaves peripheral
state
Documentation: usb: chipidea: Update test procedure for HNP polling
Documentation/usb/chipidea.txt | 9 ++---
drivers/usb/chipidea/ci.h | 4 ++
drivers/usb/chipidea/otg_fsm.c | 49 +++++++++++++++++++++--
drivers/usb/chipidea/otg_fsm.h | 2 +
drivers/usb/chipidea/udc.c | 28 ++++++++++---
drivers/usb/common/usb-otg-fsm.c | 81 ++++++++++++++++++++++++++++++++++++++
include/linux/usb/gadget.h | 1 +
include/linux/usb/otg-fsm.h | 11 ++++++
8 files changed, 172 insertions(+), 13 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html