Commit 736d25b1 authored by Chanwoo Choi's avatar Chanwoo Choi Committed by Kishon Vijay Abraham I

extcon: Add new EXTCON_DISP_HMD for Head-mounted Display device

This patch adds the new EXTCON_DISP_HMD id for Head-mounted Display[1] device.
The HMD device is usually for USB connector type So, the HMD connector
has the two extcon types of both EXTCON_TYPE_DISP and EXTCON_TYPE_USB.

[1] https://en.wikipedia.org/wiki/Head-mounted_displaySigned-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 2f251406
...@@ -162,6 +162,11 @@ struct __extcon_info { ...@@ -162,6 +162,11 @@ struct __extcon_info {
.id = EXTCON_DISP_DP, .id = EXTCON_DISP_DP,
.name = "DP", .name = "DP",
}, },
[EXTCON_DISP_HMD] = {
.type = EXTCON_TYPE_DISP | EXTCON_TYPE_USB,
.id = EXTCON_DISP_HMD,
.name = "HMD",
},
/* Miscellaneous external connector */ /* Miscellaneous external connector */
[EXTCON_DOCK] = { [EXTCON_DOCK] = {
......
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
#define EXTCON_DISP_DVI 42 /* Digital Visual Interface */ #define EXTCON_DISP_DVI 42 /* Digital Visual Interface */
#define EXTCON_DISP_VGA 43 /* Video Graphics Array */ #define EXTCON_DISP_VGA 43 /* Video Graphics Array */
#define EXTCON_DISP_DP 44 /* Display Port */ #define EXTCON_DISP_DP 44 /* Display Port */
#define EXTCON_DISP_HMD 45 /* Head-Mounted Display */
/* Miscellaneous external connector */ /* Miscellaneous external connector */
#define EXTCON_DOCK 60 #define EXTCON_DOCK 60
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment