summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2016-08-05 10:49:23 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2016-08-08 04:17:23 +0200
commit9c0595d688e9deb337ff8901bb25281cdb19050b (patch)
treea02b4a4ce322e847ca0a422007b950c9a08da1bb /drivers
parentextcon: Add EXTCON_DISP_DP and the property for USB Type-C (diff)
downloadlinux-9c0595d688e9deb337ff8901bb25281cdb19050b.tar.xz
linux-9c0595d688e9deb337ff8901bb25281cdb19050b.zip
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_display Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/extcon/extcon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c
index a0a1eea18727..10ba876ea77a 100644
--- a/drivers/extcon/extcon.c
+++ b/drivers/extcon/extcon.c
@@ -162,6 +162,11 @@ struct __extcon_info {
.id = EXTCON_DISP_DP,
.name = "DP",
},
+ [EXTCON_DISP_HMD] = {
+ .type = EXTCON_TYPE_DISP | EXTCON_TYPE_USB,
+ .id = EXTCON_DISP_HMD,
+ .name = "HMD",
+ },
/* Miscellaneous external connector */
[EXTCON_DOCK] = {