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)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:55 +0000 (16:48 +0530)
commit2f25140601115cd1b278e208099c9ebc627b9481
tree2663c0a1e6e1108d8dd180b90b4ed68383749299
parenta580982f0836e079171f65f22d82768a12f85570
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