Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3378212imw; Mon, 11 Jul 2022 07:34:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uapP2p1yzvc93VvC4Y6GKoJSqqGw6yf4U5fYxBgi33U66cnQ6zzWp4dmhYth8LrFArmmYR X-Received: by 2002:a17:90a:e7c2:b0:1ef:8acb:5ff with SMTP id kb2-20020a17090ae7c200b001ef8acb05ffmr18658406pjb.146.1657550048169; Mon, 11 Jul 2022 07:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657550048; cv=none; d=google.com; s=arc-20160816; b=DpizxFEJStursoCA2uM/Qt+5D4PJkkUYXqD3qD27u9NuA5NS5wtdgLLWx95hd/QGcd 4Pvf3rQjw5gMKRGyfwcENbJX1uHlpP0Vo/OQ1tt4gTrB2GI1TGU7ER/gIxd2cwzkRVP0 HAhUNscfwcp1cJWDnhbS7FiIEuz2ag5Tr7cRytb3zklCcgcbhFlpR0oI7BgXhzCZTw4D oqFvyAFojlmVhTAYNxWvKr1ikOQpPOJXgXE8pOtZxyUt9mg7F6qTAMkWzmbyCGGPmA15 RDrAUxdeVCUJRk5t5o0f68OpFn2mBQl/RxXOcj9jzj3gOM+/MXLVVLoloShcqkNltRyS TKKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=vgGZB3FrERO165G0osc7uhr69V2os3lT1X7JSz7H1zk=; b=vec5co6+QOHXUHaG60lmuxzCvdxTjl+wQUH6VZw575YMq+mJjjtP1QKgHfeKQqPhHz i5Qtzjkgj+5aL3w9HkYQY3vwcvGNgZ0l81C5/WMCN5PXC0PVISGde7fR7ynoSCibvOef +CLD5rtlOuIy58NX3DMJCn2jTEo2+w1E6nH67zEQVYf61dsBptSBktY44DXi66W2jSJt wYsHK6d9Y08S9+fECV6jj4w2URsDSOXaafSAC6E+BndDdtsmpF/zvBdGcFuiVl/a7Kfz aaplskeux/cG3aiFgNTIumNgGlp5ul9RZJClPXqsO1RKaQ5xxLIgYEI9wn7oD3o1y/o0 8wpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a63fb44000000b003fd60345d13si10682449pgj.693.2022.07.11.07.33.55; Mon, 11 Jul 2022 07:34:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbiGKOXT (ORCPT + 99 others); Mon, 11 Jul 2022 10:23:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231172AbiGKOXR (ORCPT ); Mon, 11 Jul 2022 10:23:17 -0400 Received: from out28-123.mail.aliyun.com (out28-123.mail.aliyun.com [115.124.28.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 189586556C for ; Mon, 11 Jul 2022 07:23:06 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1266826|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_regular_dialog|0.136972-0.0747228-0.788305;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047208;MF=michael@allwinnertech.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.OPswRor_1657549378; Received: from 192.168.220.136(mailfrom:michael@allwinnertech.com fp:SMTPD_---.OPswRor_1657549378) by smtp.aliyun-inc.com; Mon, 11 Jul 2022 22:23:02 +0800 Message-ID: Date: Mon, 11 Jul 2022 22:22:57 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH] extcon: Add EXTCON_DISP_CVBS and EXTCON_DISP_EDP Content-Language: en-US To: Chanwoo Choi , myungjoo.ham@samsung.com, cw00.choi@samsung.com Cc: linux-kernel@vger.kernel.org, allwinner-opensource-support@allwinnertech.com References: <20220708095714.127736-1-michael@allwinnertech.com> <0cef31e4-7e07-087a-1d4b-241cdce76970@gmail.com> From: Michael Wu In-Reply-To: <0cef31e4-7e07-087a-1d4b-241cdce76970@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/9/2022 9:03 AM, Chanwoo Choi wrote: > On 22. 7. 8. 18:57, Michael Wu wrote: >> 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 >> --- >> drivers/extcon/extcon.c | 10 ++++++++++ >> include/linux/extcon.h | 2 ++ >> 2 files changed, 12 insertions(+) >> >> diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c >> index d3a32b8064994..774607a616f7b 100644 >> --- a/drivers/extcon/extcon.c >> +++ b/drivers/extcon/extcon.c >> @@ -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] = { >> diff --git a/include/linux/extcon.h b/include/linux/extcon.h >> index 685401d94d398..3c45c3846fe94 100644 >> --- a/include/linux/extcon.h >> +++ b/include/linux/extcon.h >> @@ -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 > > Applied it. Thanks. > > Do you have a plan to send extcon driver with newly added connector type? > Hi Chanwoo, Thank you for the inviting. I'd like to send more patches for extcon, unfortunately the SoCs I'm using only covers CVBS and EDP among the new connector types. Once I had a chance to verify a new type, I'll surely send it here. BTW, should I send a patch-v2 with 'Reviewed-by Chanwoo Choi ' or 'Acked-by Chanwoo Choi ', or should I just wait? Thanks again. -- Regards, Michael Wu