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>
This commit is contained in:
Li Jun 2016-02-19 10:04:48 +08:00 committed by Felipe Balbi
parent dfbae33095
commit 9c527f49a7
1 changed files with 1 additions and 0 deletions

View File

@ -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,