summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/ci.h
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-04-23 09:56:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-24 21:56:35 +0200
commit826cfe751f3e1faf4a63b65245f5ee3a7efeb763 (patch)
tree99e33fcb1d99b158f923543dfca4d8c9576c4359 /drivers/usb/chipidea/ci.h
parentusb: chipidea: udc: driver update for OTG HNP (diff)
downloadlinux-826cfe751f3e1faf4a63b65245f5ee3a7efeb763.tar.xz
linux-826cfe751f3e1faf4a63b65245f5ee3a7efeb763.zip
usb: chipidea: add OTG fsm operation functions implementation
Add OTG HNP and SRP operation functions implementation: - charge vbus - drive vbus - connection signaling - drive sof - start data pulse - add fsm timer - delete fsm timer - start host - start gadget Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Li Jun <b47624@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/ci.h')
-rw-r--r--drivers/usb/chipidea/ci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h
index bd3529f29e86..9563cb56d564 100644
--- a/drivers/usb/chipidea/ci.h
+++ b/drivers/usb/chipidea/ci.h
@@ -141,6 +141,7 @@ struct hw_bank {
* @role: current role
* @is_otg: if the device is otg-capable
* @fsm: otg finite state machine
+ * @fsm_timer: pointer to timer list of otg fsm
* @work: work for role changing
* @wq: workqueue thread
* @qh_pool: allocation pool for queue heads
@@ -177,6 +178,7 @@ struct ci_hdrc {
enum ci_role role;
bool is_otg;
struct otg_fsm fsm;
+ struct ci_otg_fsm_timer_list *fsm_timer;
struct work_struct work;
struct workqueue_struct *wq;