aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2016-02-18 21:04:48 -0500
committerFelipe Balbi <balbi@kernel.org>2016-03-04 08:14:37 -0500
commit9c527f49a7312450923222941ff50e5940004e97 (patch)
treee163dd6370488df42027932e6d6ceafb5df7b1c3 /include/linux/usb
parentdfbae3309568f296e5dccfe1ec10db0f6804b756 (diff)
usb: otg-fsm: add B_AIDL_BDIS timer
Add A-idle to B-disconnect timer, B-device detects that bus is idle for more than TB_AIDL_BDIS min and begins HNP by turning off pullup on D+. This allows the bus to discharge to the SE0 state. Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/otg-fsm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/otg-fsm.h b/include/linux/usb/otg-fsm.h
index 3059a9599f53..24198e16f849 100644
--- a/include/linux/usb/otg-fsm.h
+++ b/include/linux/usb/otg-fsm.h
@@ -60,6 +60,7 @@ enum otg_fsm_timer {
60 A_AIDL_BDIS, 60 A_AIDL_BDIS,
61 B_ASE0_BRST, 61 B_ASE0_BRST,
62 A_BIDL_ADIS, 62 A_BIDL_ADIS,
63 B_AIDL_BDIS,
63 64
64 /* Auxiliary timers */ 65 /* Auxiliary timers */
65 B_SE0_SRP, 66 B_SE0_SRP,