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-07-28 21:31:38 +00:00
2013-12-20 05:07:58 +00:00
2015-10-02 12:55:51 -07:00
2014-05-21 20:32:17 +00:00
2013-09-27 23:07:21 +00:00
2014-06-15 01:45:21 +00:00
2015-06-04 19:33:00 +00:00
2015-10-19 15:15:36 -07:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2015-09-08 13:49:09 -07:00
2015-09-09 11:17:45 -07:00
2015-06-10 19:48:08 +00:00
2015-07-14 22:39:36 +00:00
2015-10-06 22:57:08 -07:00
2014-05-21 20:32:17 +00:00
2014-11-18 05:19:47 +00:00
2015-05-19 02:46:27 +00:00
2015-07-25 08:47:31 +00:00
2015-01-17 23:19:58 +00:00
2014-08-29 02:57:00 +00:00
2014-08-08 03:11:38 +00:00
2015-07-17 03:17:50 +00:00
2015-05-28 03:18:06 +00:00
2015-07-28 21:31:38 +00:00
2015-09-21 20:50:56 -07:00
2015-07-17 03:17:50 +00:00
2015-09-25 18:05:27 -07:00
2015-09-16 14:49:32 -07:00
2015-09-29 11:28:40 -07:00
2015-09-26 01:07:39 -07:00
2015-07-13 18:43:56 +00:00
2015-01-07 08:45:38 +00:00
2015-10-05 20:31:18 -07:00
2015-10-19 15:15:36 -07:00
2014-10-24 01:37:58 +00:00
2014-03-06 21:33:09 +00:00
2015-09-30 23:19:53 -07:00
2015-01-30 05:11:06 +00:00
2015-07-17 03:18:03 +00:00
2015-08-28 18:09:06 -07:00
2015-08-31 22:59:52 -07:00
2015-08-28 18:09:06 -07:00
2013-03-22 11:24:29 -07:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2015-01-14 21:49:36 +00:00
2015-08-10 20:42:18 +00:00
2015-07-23 22:38:06 +00:00
2015-10-20 22:09:05 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 21:58:01 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2015-09-15 17:56:17 -07:00
2015-09-16 14:49:59 -07:00
2015-10-06 22:57:15 -07:00
2015-09-17 19:00:53 -07:00
2015-10-16 16:29:55 -07:00
2013-08-02 18:22:57 -07:00
2015-10-19 13:45:49 -07:00
2015-05-27 02:39:41 +00:00
2015-10-19 18:21:23 -07:00
2015-06-04 01:15:55 +00:00
2015-02-10 23:07:14 +00:00
2015-10-19 13:45:49 -07:00
2012-07-26 16:25:34 -07:00
2013-11-05 02:32:40 +00:00
2013-10-23 20:07:25 +00:00
2015-06-11 00:08:49 +00:00
2015-07-15 21:57:36 +00:00
2014-11-15 06:00:02 +00:00
2015-09-25 19:36:37 -07:00
2014-05-17 20:14:17 +00:00
2013-12-19 00:12:28 +00:00
2015-02-24 00:27:42 +00:00
2015-02-04 23:32:42 +00:00
2015-09-23 21:26:22 -07:00
2015-09-16 14:49:33 -07:00
2015-09-29 14:42:05 -07:00
2014-05-21 20:32:17 +00:00
2015-10-23 10:10:56 -07:00
2015-01-14 03:15:41 +00:00
2014-01-08 03:49:36 +00:00
2015-01-14 03:15:41 +00:00
2014-05-21 20:32:17 +00:00
2015-09-21 01:13:54 -07:00
2015-08-22 01:37:25 +00:00
2015-10-19 13:45:49 -07:00
2015-10-23 10:10:56 -07:00
2015-10-13 18:44:02 -07:00
2015-10-23 10:10:56 -07:00
2015-10-22 17:40:31 -07:00
2014-05-21 20:32:17 +00:00
2014-08-23 02:42:21 +00:00
2015-01-08 00:38:13 +00:00
2015-09-21 11:23:31 -07:00
2015-10-13 05:28:54 -07:00
2015-09-24 12:46:28 -07:00
2014-02-22 00:50:37 +00:00