mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]> Tested-by: Chris Zhong <[email protected]> Tested-by: Guenter Roeck <[email protected]> Reviewed-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
a580982f08
commit
2f25140601
2 changed files with 12 additions and 1 deletions
|
|
@ -157,6 +157,11 @@ struct __extcon_info {
|
|||
.id = EXTCON_DISP_VGA,
|
||||
.name = "VGA",
|
||||
},
|
||||
[EXTCON_DISP_DP] = {
|
||||
.type = EXTCON_TYPE_DISP | EXTCON_TYPE_USB,
|
||||
.id = EXTCON_DISP_DP,
|
||||
.name = "DP",
|
||||
},
|
||||
|
||||
/* Miscellaneous external connector */
|
||||
[EXTCON_DOCK] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue