Alec Berg
e3cd6444aa
pd: implement TCPC RX Detect register to enable/disable TCPC RX
...
Implement the TCPC RX Detect register and use it for the TCPM to
enable and disable PD communication. When no type-C connection,
disable TCPC RX so that we don't send goodCRC when we are not
ready. Once TCPM establishes a type-C connection, enable TCPC RX.
BUG=none
BRANCH=none
TEST=tested on glados and on samus. On glados, without this change,
sometimes when you plug in zinger, we get into a hard reset loop
because TCPC is sending goodCRC to source cap while TCPM is still
debouncing CC and is not ready. With this change, we reliably form
PD contract.
Also tested enabling and disabling PD comms from the TCPM console
with "pd enable 0|1".
Change-Id: I8c9e696f2597978436f6ceccfe06ffb021c95ea3
Signed-off-by: Alec Berg <alecaberg@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/274811
Reviewed-by: Vincent Palatin <vpalatin@chromium.org >
2015-06-03 03:50:06 +00:00
..
2014-11-18 05:19:08 +00:00
2013-12-12 18:21:56 +00:00
2014-03-20 23:51:28 +00:00
2015-01-21 05:05:47 +00: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
2014-07-23 02:29:59 +00:00
2014-07-23 02:29:59 +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-02-10 23:07:16 +00:00
2015-02-12 23:08:45 +00:00
2015-05-02 01:14:13 +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
2014-05-15 05:28:08 +00:00
2015-04-10 22:08:25 +00:00
2015-02-10 10:47:07 +00:00
2015-05-19 02:46:27 +00:00
2013-04-29 11:05:08 -07:00
2015-05-15 06:42:30 +00:00
2015-05-29 23:57:52 +00:00
2015-05-19 02:46:27 +00:00
2015-05-26 19:36:21 +00:00
2014-08-29 02:57:00 +00:00
2014-08-08 03:11:38 +00:00
2015-01-09 05:40:18 +00:00
2014-02-08 00:14:48 +00:00
2015-06-02 01:02:58 +00:00
2013-10-25 20:12:49 +00:00
2014-03-20 23:51:00 +00:00
2013-11-02 01:07:10 +00:00
2013-08-28 01:54:48 +00:00
2014-11-06 02:28:22 +00:00
2015-05-15 06:42:30 +00:00
2014-10-29 22:23:43 +00:00
2015-05-27 03:58:16 +00:00
2015-05-27 03:58:16 +00:00
2015-04-10 22:08:25 +00:00
2015-05-27 03:58:16 +00:00
2015-05-19 02:46:27 +00:00
2015-05-19 02:46:27 +00:00
2013-06-26 09:08:23 -07:00
2015-05-27 19:40:00 +00:00
2014-09-18 02:59:29 +00:00
2014-08-25 20:52:32 +00:00
2015-04-10 22:08:25 +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
2014-10-08 02:50:54 +00:00
2013-08-07 12:43:48 -07:00
2015-02-05 19:41:41 +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
2014-11-21 06:23:16 +00:00
2015-04-13 20:00:58 +00:00
2015-03-25 20:09:52 +00:00
2015-02-05 19:41:41 +00:00
2014-10-24 01:37:58 +00:00
2015-04-30 02:31:22 +00:00
2015-03-06 08:48:39 +00:00
2015-05-12 23:35:51 +00:00
2015-01-07 19:44:21 +00:00
2015-03-14 03:22:37 +00:00
2014-01-07 04:53:20 +00:00
2015-04-27 23:29:30 +00:00
2015-02-10 23:07:14 +00:00
2013-04-24 16:32:58 -07:00
2015-05-07 17:25:40 +00:00
2015-05-26 19:36:21 +00:00
2013-10-30 23:10:10 +00:00
2015-05-26 19:36:21 +00:00
2015-05-26 19:36:15 +00:00
2014-12-01 20:30:46 +00:00
2014-08-26 23:06:23 +00:00
2014-08-29 02:57:00 +00:00
2015-02-18 04:53:59 +00:00
2015-03-17 01:42:30 +00:00
2015-03-11 23:18:09 +00:00
2015-05-07 23:39:06 +00:00
2015-05-07 23:39:06 +00:00
2014-01-22 04:52:49 +00:00
2015-05-27 01:27:20 +00:00
2015-04-10 22:08:25 +00:00
2015-01-14 03:16:10 +00:00
2014-01-06 12:40:45 +00:00
2015-02-12 06:44:04 +00:00
2013-10-23 21:27:40 +00:00
2014-02-08 04:21:26 +00:00
2014-03-01 20:15:59 +00:00
2015-01-14 03:15:41 +00:00
2014-08-10 18:39:24 +00:00
2013-11-21 00:09:09 +00:00
2015-04-10 22:08:25 +00:00
2014-11-21 02:44:07 +00:00
2014-10-11 02:22:23 +00:00
2014-01-23 19:32:27 +00:00
2014-11-13 03:14:37 +00:00
2014-06-19 03:28:43 +00:00
2015-05-27 02:39:48 +00:00
2015-06-03 03:50:06 +00:00
2015-05-29 01:37:38 +00:00
2015-05-28 23:02:08 +00:00
2015-01-08 00:38:13 +00: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