Linux-Devicetree Archive on lore.kernel.org
 help / color / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Marek Vasut <marex@denx.de>
Cc: dri-devel@lists.freedesktop.org, Rob Herring <robh+dt@kernel.org>,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 3/3] drm/panel: simple: Add Chefree CH101OLHLWH-002 panel
Date: Sun, 2 Aug 2020 09:11:44 +0200
Message-ID: <20200802071144.GB822300@ravnborg.org> (raw)
In-Reply-To: <20200728201242.4336-3-marex@denx.de>

Hi Marek.

On Tue, Jul 28, 2020 at 10:12:42PM +0200, Marek Vasut wrote:
> Add support for the Chefree CH101OLHLWH-002 10.1" (1280x800)
> color TFT LCD panel, connected over LVDS.
> 
> Timings are taken from the datasheet version P0.5.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> To: dri-devel@lists.freedesktop.org
I do not think "To:" is a valid syntax here.
So I changed to "Cc:" in all patches while applying.

Will be pushed out as soon as my builds pass.

	Sam

> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: devicetree@vger.kernel.org
> ---
>  drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
> 
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 298e3a26d9ee..a8e1f6306923 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1414,6 +1414,36 @@ static const struct panel_desc cdtech_s070wv95_ct16 = {
>  	},
>  };
>  
> +static const struct display_timing chefree_ch101olhlwh_002_timing = {
> +	.pixelclock = { 68900000, 71100000, 73400000 },
> +	.hactive = { 1280, 1280, 1280 },
> +	.hfront_porch = { 65, 80, 95 },
> +	.hback_porch = { 64, 79, 94 },
> +	.hsync_len = { 1, 1, 1 },
> +	.vactive = { 800, 800, 800 },
> +	.vfront_porch = { 7, 11, 14 },
> +	.vback_porch = { 7, 11, 14 },
> +	.vsync_len = { 1, 1, 1 },
> +	.flags = DISPLAY_FLAGS_DE_HIGH,
> +};
> +
> +static const struct panel_desc chefree_ch101olhlwh_002 = {
> +	.timings = &chefree_ch101olhlwh_002_timing,
> +	.num_timings = 1,
> +	.bpc = 8,
> +	.size = {
> +		.width = 217,
> +		.height = 135,
> +	},
> +	.delay = {
> +		.enable = 200,
> +		.disable = 200,
> +	},
> +	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
> +	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
> +	.connector_type = DRM_MODE_CONNECTOR_LVDS,
> +};
> +
>  static const struct drm_display_mode chunghwa_claa070wp03xg_mode = {
>  	.clock = 66770,
>  	.hdisplay = 800,
> @@ -3845,6 +3875,9 @@ static const struct of_device_id platform_of_match[] = {
>  	}, {
>  		.compatible = "cdtech,s070wv95-ct16",
>  		.data = &cdtech_s070wv95_ct16,
> +	}, {
> +		.compatible = "chefree,ch101olhlwh-002",
> +		.data = &chefree_ch101olhlwh_002,
>  	}, {
>  		.compatible = "chunghwa,claa070wp03xg",
>  		.data = &chunghwa_claa070wp03xg,
> -- 
> 2.27.0

  reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 20:12 [PATCH 1/3] dt-bindings: Add vendor prefix for Chefree Marek Vasut
2020-07-28 20:12 ` [PATCH 2/3] dt-bindings: Add DT bindings for Chefree CH101OLHLWH-002 Marek Vasut
2020-07-31 21:13   ` Rob Herring
2020-07-28 20:12 ` [PATCH 3/3] drm/panel: simple: Add Chefree CH101OLHLWH-002 panel Marek Vasut
2020-08-02  7:11   ` Sam Ravnborg [this message]
2020-07-31 21:12 ` [PATCH 1/3] dt-bindings: Add vendor prefix for Chefree Rob Herring

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=20200802071144.GB822300@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=marex@denx.de \
    --cc=robh+dt@kernel.org \
    /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

Linux-Devicetree Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-devicetree/0 linux-devicetree/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-devicetree linux-devicetree/ https://lore.kernel.org/linux-devicetree \
		devicetree@vger.kernel.org
	public-inbox-index linux-devicetree

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-devicetree


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git