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)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 8 Aug 2016 02:17:23 +0000 (11:17 +0900)
commit2164188d57f8862f1b69e2c5b7c0585f01077bee
treedf97a03682349c3e2e8bcb1139961573ee88cfb5
parentab11af049f88f059a73f679fb050bd7abb98d24b
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.

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>
drivers/extcon/extcon.c
include/linux/extcon.h