mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chanwoo Choi <cwchoi00@gmail.com>
To: Michael Wu <michael@allwinnertech.com>,
	myungjoo.ham@samsung.com, cw00.choi@samsung.com
Cc: linux-kernel@vger.kernel.org,
	allwinner-opensource-support@allwinnertech.com
Subject: Re: [PATCH] extcon: Add EXTCON_DISP_CVBS and EXTCON_DISP_EDP
Date: Sat, 9 Jul 2022 10:03:52 +0900	[thread overview]
Message-ID: <0cef31e4-7e07-087a-1d4b-241cdce76970@gmail.com> (raw)
In-Reply-To: <20220708095714.127736-1-michael@allwinnertech.com>

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 <michael@allwinnertech.com>
> ---
>  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?

-- 
Best Regards,
Samsung Electronics
Chanwoo Choi

  reply	other threads:[~2022-07-09  1:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08  9:57 Michael Wu
2022-07-09  1:03 ` Chanwoo Choi [this message]
2022-07-11 14:22   ` Michael Wu
2022-07-11 21:04     ` Chanwoo Choi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0cef31e4-7e07-087a-1d4b-241cdce76970@gmail.com \
    --to=cwchoi00@gmail.com \
    --cc=allwinner-opensource-support@allwinnertech.com \
    --cc=cw00.choi@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael@allwinnertech.com \
    --cc=myungjoo.ham@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®