Alec Berg
847978564a
pd: send soft reset on boot if VBUS is present
...
On boot, if VBUS is present, then when PD protocol gets to
SNK_DISCOVERY state, if it times out waiting for source cap,
then send attempt to send a soft reset first instead of
directly sending a hard reset. This allows us to not lose
VBUS in the case that we were in a stable contract as a sink
before this boot (for example a sysjump or EC reboot).
BUG=chrome-os-partner:44085, chrome-os-partner:44952
BRANCH=none
TEST=test on glados and samus. test by sysjumping between
RO and RW with zinger plugged in and no battery, and verify
that we don't lose power. also test rebooting with a battery
and verify we don't lose power. also tested with a third
party PD charger.
Change-Id: Ib7ce46d8b9843db66805ba3237d8919d611324e0
Signed-off-by: Alec Berg <alecaberg@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/308201
Reviewed-by: Rong Chang <rongchang@chromium.org >
2015-10-23 10:10:56 -07:00
..
2015-10-16 14:46:20 -07:00
2013-12-12 18:21:56 +00:00
2015-07-16 05:15:22 +00:00
2015-10-02 12:55:51 -07:00
2013-12-17 21:27:53 +00:00
2015-04-10 22:08:25 +00:00
2014-12-31 00:01:00 +00:00
2015-06-18 19:07:00 +00:00
2014-07-23 02:29:59 +00:00
2015-06-04 19:33:00 +00:00
2013-04-05 14:28:42 -07:00
2014-02-08 04:15:39 +00:00
2014-02-08 04:15:39 +00:00
2015-06-18 19:07:00 +00:00
2015-08-19 01:50:21 +00:00
2015-06-18 19:07:00 +00:00
2014-04-11 15:37:38 +00:00
2014-12-15 19:53:46 +00:00
2015-01-15 05:13:14 +00:00
2015-07-22 22:30:00 +00:00
2015-04-10 22:08:25 +00:00
2015-02-10 10:47:07 +00:00
2015-09-19 15:18:08 -07:00
2015-06-18 19:07:00 +00:00
2015-09-24 18:07:01 -07:00
2015-10-20 22:09:05 -07:00
2015-07-25 08:47:31 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-07-27 22:19:16 +00:00
2014-02-08 00:14:48 +00:00
2015-10-20 15:02:49 -07:00
2013-10-25 20:12:49 +00:00
2015-06-10 18:24:05 +00:00
2014-11-06 02:28:22 +00:00
2015-09-25 18:05:27 -07:00
2015-09-18 17:55:32 -07:00
2015-05-27 03:58:16 +00:00
2015-05-27 03:58:16 +00:00
2015-09-29 21:11:40 -07:00
2015-05-27 03:58:16 +00:00
2015-10-19 15:15:37 -07:00
2015-10-05 20:31:18 -07:00
2013-06-26 09:08:23 -07:00
2015-06-17 13:10:58 +00:00
2012-11-04 20:27:57 -08:00
2015-06-18 19:07:00 +00:00
2015-04-10 22:08:25 +00:00
2015-07-17 03:18:03 +00:00
2014-02-07 04:13:18 +00:00
2015-01-24 06:42:02 +00:00
2013-10-30 23:10:13 +00:00
2014-02-07 04:13:14 +00:00
2015-04-10 22:08:25 +00:00
2014-04-11 20:02:30 +00:00
2013-03-22 11:24:29 -07:00
2015-09-19 12:27:21 -07:00
2013-08-07 12:43:48 -07:00
2015-07-17 03:17:57 +00:00
2015-08-10 20:42:18 +00:00
2013-04-02 14:12:57 -07:00
2014-10-08 02:50:54 +00:00
2014-10-15 18:22:37 +00:00
2015-10-20 22:09:05 -07:00
2015-09-16 14:49:46 -07:00
2015-06-25 17:21:50 +00:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2011-12-07 19:10:02 +00:00
2014-10-24 01:37:58 +00:00
2015-07-30 19:58:09 +00:00
2015-03-06 08:48:39 +00:00
2015-10-20 22:09:05 -07:00
2012-10-25 14:12:11 -07:00
2015-10-07 17:51:36 -07:00
2012-11-01 12:45:22 -07:00
2015-06-18 19:07:00 +00:00
2015-10-19 18:21:22 -07:00
2015-06-04 01:15:55 +00:00
2013-04-24 16:32:58 -07:00
2015-07-14 07:35:27 +00:00
2012-10-25 14:12:10 -07:00
2015-06-18 19:07:00 +00:00
2013-10-30 23:10:10 +00:00
2015-06-18 19:07:00 +00:00
2015-07-15 21:57:36 +00:00
2015-09-25 19:36:37 -07:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2012-08-09 17:40:37 -07:00
2015-06-18 19:07:00 +00:00
2015-02-18 04:53:59 +00:00
2015-09-15 19:17:53 -07:00
2015-03-11 23:18:09 +00:00
2015-07-30 19:57:55 +00:00
2015-06-18 19:07:00 +00:00
2015-04-10 22:08:25 +00:00
2015-09-30 23:19:53 -07:00
2015-06-18 19:07:00 +00:00
2015-08-20 01:37:56 +00:00
2015-06-18 19:07:00 +00:00
2014-02-08 04:21:26 +00:00
2015-09-16 14:49:46 -07:00
2015-01-14 03:15:41 +00:00
2014-08-10 18:39:24 +00:00
2015-08-24 19:08:15 +00:00
2015-08-14 21:04:38 +00:00
2015-10-17 04:56:06 -07:00
2015-04-10 22:08:25 +00:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2015-09-11 13:51:07 -07:00
2015-09-08 13:49:09 -07:00
2015-06-18 19:07:00 +00:00
2015-08-04 19:22:07 +00:00
2015-08-21 08:10:03 +00:00
2015-08-21 08:10:03 +00:00
2015-10-23 10:10:56 -07:00
2015-06-18 19:07:00 +00:00
2015-09-21 01:13:54 -07:00
2015-07-01 03:49:00 +00:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2014-08-28 20:12:52 +00:00
2014-06-17 18:34:03 +00:00
2015-01-20 20:56:43 +00:00