Files
linux/drivers/mfd
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-11-11 15:57:28 +08:00
2015-11-11 15:54:30 +08:00
2017-12-21 10:29:40 +08:00
2015-08-11 15:09:01 +01:00
2015-11-11 15:57:28 +08:00
2017-12-21 10:29:40 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2014-08-22 10:01:21 +08:00
2015-10-30 17:19:51 +00:00
2015-11-11 15:57:28 +08:00
2015-10-30 17:19:51 +00:00
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-10-26 14:48:57 +00:00
2015-08-11 15:09:01 +01:00
2015-11-11 15:57:28 +08:00
2015-08-11 15:09:01 +01:00
2015-11-11 15:57:28 +08: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
2013-11-08 21:33:42 +08:00
2013-07-31 13:01:29 +01:00
2015-11-11 15:57:28 +08:00
2015-08-11 15:09:01 +01:00
2011-04-12 09:30:50 +08:00
2015-08-11 15:09:01 +01:00