]> git.baikalelectronics.ru Git - kernel.git/commitdiff
extcon: Add EXTCON_DISP_CVBS and EXTCON_DISP_EDP
authorMichael Wu <michael@allwinnertech.com>
Fri, 8 Jul 2022 09:57:14 +0000 (17:57 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 15 Jul 2022 02:37:41 +0000 (11:37 +0900)
Add EXTCON_DISP_CVBS for Composite Video Broadcast Signal.
Add EXTCON_DISP_EDP for Embedded Display Port

[1] https://en.wikipedia.org/wiki/Composite_video
[2] https://en.wikipedia.org/wiki/DisplayPort#eDP

Signed-off-by: Michael Wu <michael@allwinnertech.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c
include/linux/extcon.h

index 0e40418ad287d5f0f893f3d95edd778adc41206c..e1c71359b6051c12ff0b76194a140a6def2d6857 100644 (file)
@@ -167,6 +167,16 @@ static const struct __extcon_info {
                .id = EXTCON_DISP_HMD,
                .name = "HMD",
        },
+       [EXTCON_DISP_CVBS] = {
+               .type = EXTCON_TYPE_DISP,
+               .id = EXTCON_DISP_CVBS,
+               .name = "CVBS",
+       },
+       [EXTCON_DISP_EDP] = {
+               .type = EXTCON_TYPE_DISP,
+               .id = EXTCON_DISP_EDP,
+               .name = "EDP",
+       },
 
        /* Miscellaneous external connector */
        [EXTCON_DOCK] = {
index 685401d94d39819474861b574326209086a2b6d3..3c45c3846fe947afe07353df90d356913720ff70 100644 (file)
@@ -76,6 +76,8 @@
 #define EXTCON_DISP_VGA                43      /* Video Graphics Array */
 #define EXTCON_DISP_DP         44      /* Display Port */
 #define EXTCON_DISP_HMD                45      /* Head-Mounted Display */
+#define EXTCON_DISP_CVBS       46      /* Composite Video Broadcast Signal */
+#define EXTCON_DISP_EDP                47      /* Embedded Display Port */
 
 /* Miscellaneous external connector */
 #define EXTCON_DOCK            60