FROMLIST: extcon: Add EXTCON_DISP_DP and the property for USB Type-C
authorChris Zhong <zyw@rock-chips.com>
Thu, 21 Jul 2016 16:13:02 +0000 (01:13 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 5 Aug 2016 02:10:21 +0000 (10:10 +0800)
commit454f1b61ddbf79e42b8351836ee52a7a20f61a17
tree17a4a088ba5ba2600d2b775e359e0207f2050bdc
parentcb7d0578f9c5d34c2a71b5c1a6b57e5a0ab4b52e
FROMLIST: extcon: Add EXTCON_DISP_DP and the property for USB Type-C

Add EXTCON_DISP_DP for the Display external connector. For Type-C
connector the DisplayPort can work as an Alternate Mode(VESA DisplayPort
Alt Mode on USB Type-C Standard). The Type-C support both normal
and flipped orientation, so add a property to extcon.

Change-Id: I490f82cdf278aa84db9c21ba8d0b7b0e9dfa4cff
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chris Zhong <zyw@rock-chips.com>
Tested-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
(cherry picked from commit e49de5133573
 git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git extcon-test)
Signed-off-by: Guenter Roeck <groeck@chromium.org>
drivers/extcon/extcon.c
include/linux/extcon.h