aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/otg-fsm.h
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2016-02-19 10:04:48 +0800
committerFelipe Balbi <balbi@kernel.org>2016-03-04 15:14:37 +0200
commit9c527f49a7312450923222941ff50e5940004e97 (patch)
treee163dd6370488df42027932e6d6ceafb5df7b1c3 /include/linux/usb/otg-fsm.h
parentDocumentation: usb: chipidea: Update test procedure for HNP polling (diff)
downloadlinux-dev-9c527f49a7312450923222941ff50e5940004e97.tar.xz
linux-dev-9c527f49a7312450923222941ff50e5940004e97.zip
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/otg-fsm.h')
-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 {
A_AIDL_BDIS,
B_ASE0_BRST,
A_BIDL_ADIS,
+ B_AIDL_BDIS,
/* Auxiliary timers */
B_SE0_SRP,