Files
OpenCellular/include
Todd Broch 63786f247e samus_pd: Request different DP pin modes including multi-function.
Previously samus_pd just picked pin mode E without regard to what the
UFP was requesting.  This change surveys the UFP's DP pin capabilities
and then requests the appropriate pin config.

Additionally if the UFP supports multi-function and has preferred it
during the initial DP status message, samus will configure its
type-c mux in 'dock' mode.

Signed-off-by: Todd Broch <tbroch@chromium.org>

BRANCH=samus
BUG=chrome-os-partner:38728
TEST=manual,
1. hoho + samus, pin mode = 'C'
2. dingdong + samus, pin mode = 'E'.
3. apple type-C HDMI multiport + samus, pin mode = 'D' and USB device
   enumerates as SuperSpeed.
4. plankton + samus w/ patch asserting alternate mode with
   multi-function preferred sets config to 'F' now and only drives DP
   out on 2 lanes w/ other two allowing USB key to be seen.

Change-Id: Ie4764c33f108e8a88f0052b64ddb96cb92e5a78b
Reviewed-on: https://chromium-review.googlesource.com/267796
Commit-Queue: Todd Broch <tbroch@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2015-04-30 02:31:18 +00:00
..
2013-12-17 21:27:53 +00:00
2013-04-05 14:28:42 -07:00
2015-04-07 23:20:14 +00:00
2014-02-08 00:14:48 +00:00
2013-10-25 20:12:49 +00:00
2012-10-26 09:49:38 -07:00
2014-10-29 22:23:43 +00:00
2013-06-26 09:08:23 -07:00
2013-10-30 23:10:13 +00:00
2013-08-07 12:43:48 -07:00
2015-04-13 20:00:58 +00:00
2011-12-07 19:10:02 +00:00
2015-03-06 08:48:39 +00:00
2012-10-25 14:12:11 -07:00
2012-10-25 14:12:10 -07:00
2013-10-30 23:10:10 +00:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2014-06-26 06:48:37 +00:00
2014-01-06 12:40:45 +00:00
2015-02-12 06:44:04 +00:00
2014-03-01 20:15:59 +00:00
2013-11-21 00:09:09 +00:00
2014-06-19 03:28:43 +00:00
2015-04-13 20:00:58 +00:00
2015-01-20 20:56:43 +00:00