Todd Broch
a3913d99d7
pd: dingdong/hoho: HPD over USB PD.
HPD needs to be transported of USB PD as both SBU lines are consumed
for differential AUX signalling.
This CL does the following:
1. Enables GPIO DP_HPD as interrupt
2. Sends debounced HPD across CC via the SVDM DP status message
BRANCH=none
BUG=chrome-os-partner:31192,chrome-os-partner:31193
TEST=manual,
From servo w/ GPIO attached to HPD drove the following transactions
after inserting with HPD low initially:
# e1: hpd_high
# e2: hpd_low
# non-registered glitch
# e3: hpd_high followed by hpd_low
# e4: hpd high
# non-registered glitch
# e5: hpd_irq
# e6: hpd_irq
# e7: hpd_irq
# e8: hpd_low followed by hpd_high
From fruitpie console (marked up to show result of above)
----> enter-mode, dp status, dp config
[6.774108 DONE] SVDM/1 [4] ff018144
[6.777467 DONE] SVDM/2 [16] ff018150 00000002
[6.780637 DONE] SVDM/1 [17] ff018051
----> attentions start arriving
----> e1 [18.966741 DONE] SVDM/2 [6] ff018106 0000008a
----> e2 [33.724367 DONE] SVDM/2 [6] ff018106 0000000a
----> e3 [64.550398 DONE] SVDM/2 [6] ff018106 0000008a
----> e3 [64.752452 DONE] SVDM/2 [6] ff018106 0000000a
----> e4 [74.247127 DONE] SVDM/2 [6] ff018106 0000008a
----> e5 [88.906254 DONE] SVDM/2 [6] ff018106 0000010a
----> e6 [100.938738 DONE] SVDM/2 [6] ff018106 0000010a
----> e7 [123.693414 DONE] SVDM/2 [6] ff018106 0000010a
----> e8 [130.050074 DONE] SVDM/2 [6] ff018106 0000000a
----> e8 [130.254087 DONE] SVDM/2 [6] ff018106 0000008a
Change-Id: I976c268467ece84cedab7ba4943fb59d1e48c113
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/223262
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2014-10-30 21:48:06 +00:00
..
2014-05-21 20:32:17 +00:00
2013-12-20 05:07:58 +00:00
2014-06-04 21:00:32 +00: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
2014-10-29 22:23:54 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2014-10-30 04:31:34 +00:00
2014-09-03 22:49:28 +00:00
2014-10-22 00:30:35 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2014-03-06 21:32:57 +00:00
2014-10-29 22:23:54 +00:00
2014-07-17 00:40:23 +00:00
2014-08-29 02:57:00 +00:00
2014-08-08 03:11:38 +00:00
2013-10-25 20:12:49 +00:00
2014-05-21 20:32:17 +00:00
2014-03-29 02:14:26 +00:00
2013-11-21 22:21:56 +00:00
2014-05-21 20:32:17 +00:00
2014-10-07 20:58:33 +00:00
2013-11-07 22:36:05 +00:00
2013-07-16 12:06:31 -07:00
2014-10-15 23:56:27 +00:00
2013-12-19 00:12:28 +00:00
2014-10-29 22:23:59 +00:00
2014-04-29 03:11:16 +00:00
2014-05-21 20:32:17 +00:00
2014-09-17 01:24:05 +00:00
2014-09-17 01:24:25 +00:00
2014-09-03 22:49:28 +00:00
2014-10-24 01:37:58 +00:00
2013-10-25 01:32:15 +00:00
2014-03-06 21:33:09 +00:00
2014-09-30 08:32:23 +00:00
2014-09-18 02:59:29 +00:00
2014-08-25 20:52:32 +00:00
2014-09-26 09:21:06 +00:00
2014-10-24 01:37:58 +00:00
2014-05-21 20:32:17 +00:00
2013-03-22 11:24:29 -07:00
2014-10-22 21:50:39 +00:00
2014-01-14 09:19:45 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2014-10-22 21:50:39 +00:00
2014-06-05 01:36:44 +00:00
2014-09-25 04:09:07 +00:00
2013-05-07 20:59:53 -07:00
2014-10-24 01:37:58 +00:00
2014-10-29 22:23:54 +00:00
2014-10-29 22:23:54 +00:00
2013-08-02 18:22:57 -07:00
2014-09-18 02:59:29 +00:00
2014-10-01 06:53:14 +00:00
2014-05-21 20:32:17 +00:00
2013-12-02 22:03:51 +00:00
2014-05-21 20:32:17 +00:00
2014-05-07 03:41:27 +00:00
2014-06-05 01:36:44 +00:00
2014-08-21 08:02:00 +00:00
2013-12-19 00:12:28 +00: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
2014-09-18 02:59:24 +00:00
2014-09-30 05:42:15 +00:00
2014-05-17 20:14:17 +00:00
2013-12-19 00:12:28 +00:00
2013-05-07 20:59:53 -07:00
2014-08-29 02:57:00 +00:00
2014-07-15 09:07:40 +00:00
2014-05-21 20:32:17 +00:00
2014-09-25 18:15:47 +00:00
2013-10-23 21:27:40 +00:00
2014-01-08 03:49:36 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2014-10-23 22:41:08 +00:00
2014-06-04 21:01:43 +00:00
2014-10-30 21:48:06 +00:00
2014-10-30 21:48:06 +00:00
2014-05-21 20:32:17 +00:00
2014-08-23 02:42:21 +00:00
2014-06-11 00:17:06 +00:00
2014-05-21 20:32:17 +00:00
2014-10-11 07:29:15 +00:00
2014-02-22 00:50:37 +00:00