Wyon Bi
5b4205b1cb
mfd: fusb302: fix pin assignment selection algorithm
...
This algorithm defaults to choosing higher pin config over
lower ones in order to prefer multi-function if desired.
NAME | SIGNALING | OUTPUT TYPE | MULTI-FUNCTION | PIN CONFIG
-------------------------------------------------------------
A | USB G2 | ? | no | 00_0001
B | USB G2 | ? | yes | 00_0010
C | DP | CONVERTED | no | 00_0100
D | PD | CONVERTED | yes | 00_1000
E | DP | DP | no | 01_0000
F | PD | DP | yes | 10_0000
if UFP has NOT asserted multi-function preferred code masks away
B/D/F leaving only A/C/E. For single-output dongles that should
leave only one possible pin config depending on whether its a
converter DP->(VGA|HDMI) or DP output. If UFP is a USB-C receptacle
it may assert C/D/E/F. The DFP USB-C receptacle must always choose
C/D in those cases.
Change-Id: I5594d39a302f27e2d72259f6a18308488d4fa47c
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
2018-08-15 17:28:40 +08:00
..
2015-10-26 14:48:56 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-11-11 15:57:28 +08:00
2014-09-26 08:15:45 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2014-10-20 16:20:53 +02:00
2015-08-11 15:09:01 +01:00
2015-06-22 12:25:27 +01:00
2015-11-11 15:54:30 +08:00
2017-11-08 10:06:29 +01:00
2014-06-03 08:11:51 +01:00
2015-08-11 15:08:48 +01:00
2015-10-30 18:56:58 +00:00
2015-10-30 17:20:30 +00:00
2015-10-26 14:49:05 +00:00
2015-11-06 10:23:50 -08:00
2015-08-11 15:08:42 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:48 +01:00
2015-09-16 15:47:51 +02:00
2015-10-30 17:19:49 +00:00
2016-10-16 17:36:14 +02:00
2017-11-08 10:06:29 +01:00
2015-10-26 14:49:09 +00:00
2015-10-26 14:48:55 +00:00
2018-01-02 20:33:20 +01:00
2015-06-22 12:23:02 +01:00
2014-03-19 08:58:07 +00:00
2015-10-30 17:19:45 +00:00
2015-10-30 17:19:49 +00:00
2015-10-30 17:19:46 +00:00
2015-06-22 12:25:01 +01:00
2015-11-06 10:23:50 -08:00
2015-06-22 12:25:01 +01:00
2015-08-11 15:08:48 +01:00
2015-10-30 17:19:51 +00:00
2015-06-22 12:25:20 +01:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:08:51 +01:00
2015-10-13 11:28:36 +01:00
2015-01-22 15:56:24 +00:00
2015-08-11 15:09:01 +01:00
2013-09-26 11:04:16 +02:00
2015-03-26 14:20:18 +00:00
2018-02-28 14:55:00 +08:00
2015-11-04 11:02:12 +00:00
2018-08-15 17:28:40 +08:00
2018-08-15 17:28:40 +08:00
2015-10-26 14:49:00 +00:00
2018-02-28 14:55:00 +08:00
2018-02-28 14:55:00 +08:00
2014-01-06 09:13:29 +00:00
2014-10-20 16:20:53 +02:00
2015-10-26 15:25:55 +01:00
2015-10-30 17:19:47 +00:00
2016-06-07 18:14:34 -07:00
2015-06-22 12:25:01 +01:00
2015-07-21 09:22:08 +02:00
2015-10-30 18:57:33 +00:00
2015-10-30 18:57:34 +00:00
2018-07-03 11:21:32 +02:00
2015-10-01 16:31:33 +01:00
2015-08-11 15:09:00 +01:00
2015-05-06 08:03:20 +02:00
2015-09-16 15:47:51 +02:00
2017-12-21 10:29:40 +08:00
2015-10-30 17:19:43 +00:00
2015-10-30 17:19:52 +00:00
2012-05-20 17:27:02 +02:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2015-11-11 15:57:28 +08:00
2015-01-22 15:55:56 +00:00
2017-12-21 10:29:40 +08:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-11-11 15:57:28 +08:00
2015-08-11 15:09:08 +01:00
2015-11-11 15:57:28 +08:00
2015-08-11 15:09:08 +01:00
2015-11-11 15:57:28 +08:00
2015-08-11 15:08:48 +01:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-10-01 16:31:42 +01:00
2015-06-22 12:25:24 +01:00
2015-08-11 15:08:48 +01:00
2015-10-28 10:30:17 +09:00
2014-07-09 14:58:10 +01:00
2014-07-22 13:17:02 +01:00
2014-10-20 16:20:53 +02:00
2015-03-30 10:06:55 +01:00
2014-09-24 13:30:16 +01:00
2016-11-26 09:54:53 +01:00
2015-08-11 15:09:11 +01:00
2015-11-11 15:57:28 +08:00
2017-06-26 07:13:09 +02:00
2013-04-09 09:46:23 +02:00
2018-03-24 10:58:44 +01:00
2014-03-19 08:58:07 +00:00
2015-01-22 15:56:21 +00:00
2012-03-06 18:46:51 +01:00
2015-10-30 17:19:42 +00:00
2015-09-16 15:47:51 +02:00
2016-08-20 18:09:18 +02:00
2015-03-30 10:07:08 +01:00
2015-08-11 15:09:01 +01:00
2015-08-11 15:08:48 +01:00
2014-06-03 08:11:17 +01:00
2015-08-11 15:08:48 +01:00
2014-06-06 11:04:37 +08:00
2015-05-04 09:34:14 +08:00
2018-01-31 20:56:06 +08:00
2018-01-31 20:56:06 +08:00
2018-01-31 20:56:06 +08:00
2018-01-12 15:03:05 +08:00
2018-08-08 18:21:46 +08:00
2018-02-09 16:44:58 +08:00
2014-09-26 08:15:51 +01:00
2014-08-22 10:01:21 +08:00
2014-08-22 10:01:21 +08:00
2014-09-24 16:00:09 +08:00
2014-08-22 10:01:21 +08:00
2014-08-22 10:01:21 +08:00
2015-10-30 18:57:35 +00:00
2014-09-11 14:28:23 +08:00
2014-09-11 14:28:23 +08:00
2014-09-24 16:00:09 +08:00
2015-01-14 11:44:20 +08:00
2014-10-23 16:59:08 +08:00
2015-03-03 16:41:21 +00:00
2015-10-30 17:19:44 +00:00
2015-10-30 17:19:51 +00:00
2015-10-30 17:19:44 +00:00
2015-10-30 17:19:44 +00:00
2015-11-11 15:57:28 +08:00
2015-10-30 17:19:51 +00:00
2016-10-16 17:36:14 +02:00
2015-11-11 15:57:28 +08:00
2015-04-09 10:26:54 +01:00
2014-07-25 15:31:44 +01:00
2015-08-11 15:08:48 +01:00
2013-04-19 18:37:59 +02:00
2015-03-12 09:08:12 +00:00
2015-11-11 15:57:28 +08:00
2015-08-11 15:08:48 +01:00
2014-10-20 16:20:53 +02:00
2014-10-20 16:20:53 +02:00
2015-09-04 11:35:03 -07:00
2015-10-28 10:30:17 +09:00
2015-10-26 14:48:57 +00:00
2014-12-30 16:59:59 -08:00
2015-08-11 15:09:09 +01:00
2015-01-22 15:55:49 +00:00
2014-12-14 16:10:09 -08:00
2015-09-16 15:47:51 +02:00
2015-08-11 15:09:01 +01:00
2014-11-25 16:18:58 +00:00
2015-11-11 15:57:28 +08:00
2015-03-03 16:41:15 +00:00
2014-03-19 08:58:34 +00:00
2018-01-31 20:56:06 +08:00
2018-01-31 20:56:06 +08:00
2011-10-31 19:32:05 -04:00
2015-10-30 17:19:40 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2018-02-28 14:55:00 +08:00
2015-08-11 15:08:48 +01:00
2015-10-26 14:49:08 +00:00
2015-08-11 15:09:10 +01:00
2015-11-11 15:57:28 +08:00
2014-10-20 16:20:53 +02:00
2014-03-19 08:58:07 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2015-10-28 10:30:17 +09:00
2015-08-11 15:08:48 +01:00
2018-01-02 20:33:20 +01:00
2015-08-11 15:09:01 +01:00
2015-06-22 12:25:04 +01:00
2012-06-11 12:49:38 +08:00
2015-08-11 15:09:06 +01:00
2012-05-02 16:39:17 +08:00
2012-05-02 16:39:17 +08:00
2012-05-02 16:39:17 +08:00
2018-01-02 20:33:20 +01:00
2015-08-05 05:10:06 +02:00
2013-11-08 21:33:42 +08:00
2012-02-18 23:15:44 +00:00
2018-02-28 14:55:00 +08:00
2012-02-18 23:15:43 +00:00
2013-07-31 13:01:29 +01:00
2015-11-11 15:57:28 +08:00
2014-11-25 16:18:42 +00:00
2014-01-21 08:27:45 +00:00
2013-08-20 08:51:58 +01:00
2015-06-22 12:25:25 +01:00
2015-10-26 14:49:04 +00:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2013-11-08 21:34:05 +08:00
2011-04-12 09:30:50 +08:00
2015-10-28 10:30:17 +09:00
2015-09-04 11:46:02 -07:00
2015-10-26 14:49:06 +00:00
2015-06-22 12:25:26 +01:00
2011-09-06 16:37:58 +02:00
2015-08-11 15:08:48 +01:00
2015-08-11 15:09:01 +01:00
2012-07-09 00:16:10 +02:00
2015-08-11 15:08:48 +01:00
2015-09-04 11:46:02 -07:00
2015-08-11 15:09:13 +01:00
2015-08-11 15:08:47 +01:00
2011-12-13 00:11:13 +08:00
2015-09-04 11:46:02 -07:00
2015-10-26 14:49:07 +00:00