TCPMv2: Exit modes on AP reset
TCPMv2: Exit modes on AP reset

In AP driven mode entry, in the cases of AP reset, kernel panic, etc,
EC will exit modes to ensure next time AP boot up, it can enter same
Alt modes.

BUG=b:168746787
BRANCH=None
TEST=On Voxel, EC binary has AP mode entry enabled, OS has AP mode
switch enabled.
Boot up system with TBT dock, "ectool usbpdmuxinfo" shows DP=1;
"reboot" from AP console, after reboot, get DP=1;
hot plug TBT dock, get DP=1; browse as guest, get TBT=1, and
enumerated in sysfs.
"reboot" from AP console again, after reboot, get DP=1.
TEST=On Voxel, EC binary has EC driven mode entry, OS is same as above.
Boot up system with TBT dock, get TBT=1; "reboot" from AP console,
get TBT=1 after reset and enumerated.

Signed-off-by: li feng <0fd15d95d647a38d004d7ac9a3d0587bb1c98551@intel.com>
Change-Id: I127c23ec58f55d7672babf1762ac5fb17e24cc7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2689671
Commit-Queue: Abe Levkoy <2e1ad7039298f93262cf06bbb457275fb3e2ecb5@chromium.org>
Reviewed-by: Abe Levkoy <2e1ad7039298f93262cf06bbb457275fb3e2ecb5@chromium.org>
Reviewed-by: Vijay P Hiremath <006c712879a3af08bfdb5c2b8491a8b2d5fd73cd@intel.com>
Reviewed-by: Ayushee Shah <5730d7ed61dc96fa04bcc2bc2e4ce32af5b2c19d@intel.com>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec