This patchset adds OTG HNP polling support for both A and B device.
After A/B in host state, host request polling message will be sent
from host to peripheral every 1.5s, if host finds the host request
flag is set to be 1 by peripheral, a role switch will be started.
Changes from V1 to V2:
Split the HNP polling patch in V1([PATCH 08/10] usb: chipidea: add OTG HNP
polling support)
Li Jun (6):
usb: otg-fsm: add HNP polling operation function.
usb: otg-fsm: add host request flag for HNP polling.
usb: chipidea: udc: add OTG status request handling.
usb: chipidea: set host request flag via sys input.
usb: otg-fsm: add a timer for polling host request flag from
peripheral.
usb: chipidea: OTG fsm driver HNP polling implementation.
drivers/usb/chipidea/ci.h | 1 +
drivers/usb/chipidea/otg_fsm.c | 93 +++++++++++++++++++++++++++++++++++++++-
drivers/usb/chipidea/otg_fsm.h | 4 ++
drivers/usb/chipidea/udc.c | 12 ++++-
drivers/usb/phy/phy-fsm-usb.c | 6 +++
include/linux/usb/gadget.h | 1 +
include/linux/usb/otg-fsm.h | 17 +++++++
7 files changed, 131 insertions(+), 3 deletions(-)
--
1.7.8
--
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