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. Also some update on common otg fsm driver according to OTG and EH Rev 2.0. 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" Li Jun (10): usb: otg-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 OTG HNP polling support. 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 | 3 + drivers/usb/chipidea/core.c | 10 +- drivers/usb/chipidea/debug.c | 100 ++++ drivers/usb/chipidea/host.c | 13 +- drivers/usb/chipidea/host.h | 9 + drivers/usb/chipidea/otg.c | 13 + drivers/usb/chipidea/otg_fsm.c | 1022 ++++++++++++++++++++++++++++++++++++++++ drivers/usb/chipidea/otg_fsm.h | 127 +++++ drivers/usb/chipidea/udc.c | 22 +- drivers/usb/phy/phy-fsm-usb.c | 15 +- include/linux/usb/gadget.h | 1 + include/linux/usb/otg-fsm.h | 13 + 14 files changed, 1351 insertions(+), 12 deletions(-) create mode 100644 drivers/usb/chipidea/otg_fsm.c create mode 100644 drivers/usb/chipidea/otg_fsm.h -- 1.7.8 -- 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