Hi All, OTG framework has usb_gadget_vbus_connect and usb_gadget_vbus_disconnect API to start/stop gadget upon vbus detection. But a similar API is missing for starting/stopping/suspending/resuming HCD. A blocking notifier is already defined in include/linux/usb/otg.h mainly for other modules interested in USB OTG events. But it would be good to have a simple API to achieve the following things. Id becomes ground --> start HCD Id becomes float --> start HCD HNP start --> suspend HCD HNP complete --> resume HCD I am proposing a new method "otg_request" in hc_driver struct defined in linux/usb/hcd.h. This method will take 2nd argument as req_flags and 1st argument is usb_hcd. enum { ID_START_HOST, ID_STOP_HOST, HNP_SUSPEND_HOST, HNP_RESUME_HOST, } Thanks, Pavan -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum. -- 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