From: Jessica Zhang <quic_jesszhan@quicinc.com>
To: Shengyang Chen <shengyang.chen@starfivetech.com>,
<devicetree@vger.kernel.org>, <dri-devel@lists.freedesktop.org>
Cc: <neil.armstrong@linaro.org>, <sam@ravnborg.org>,
<airlied@gmail.com>, <daniel@ffwll.ch>,
<maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>,
<tzimmermann@suse.de>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
<wahrenst@gmx.net>, <dave.stevenson@raspberrypi.com>,
<thierry.reding@gmail.com>, <changhuang.liang@starfivetech.com>,
<keith.zhao@starfivetech.com>, <jack.zhu@starfivetech.com>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] gpu: drm: panel: panel-simple: add new display mode for waveshare 7inch touchscreen panel
Date: Tue, 9 Jan 2024 10:26:13 -0800 [thread overview]
Message-ID: <9a2b1929-bd01-4d40-89ca-6785d1b9367a@quicinc.com> (raw)
In-Reply-To: <20240109070949.23957-3-shengyang.chen@starfivetech.com>
On 1/8/2024 11:09 PM, Shengyang Chen wrote:
> The waveshare 7" 800x480 panel is a clone of Raspberry Pi 7" 800x480 panel
> It also uses a Toshiba TC358762 DSI to DPI bridge chip but it needs different
> timing from Raspberry Pi panel. Add new timing for it.
Hi Shengyang,
The patch itself LGTM, but in case you have to put out a new revision,
can you please use the "drm/panel: <driver name>:" prefix format that
other drm/panel commits use?
Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Thanks,
Jessica Zhang
>
> Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
> Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 9367a4572dcf..e0896873ea33 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -4110,6 +4110,31 @@ static const struct panel_desc vl050_8048nt_c01 = {
> .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
> };
>
> +static const struct drm_display_mode waveshare_7inch_mode = {
> + .clock = 29700000 / 1000,
> + .hdisplay = 800,
> + .hsync_start = 800 + 90,
> + .hsync_end = 800 + 90 + 5,
> + .htotal = 800 + 90 + 5 + 5,
> + .vdisplay = 480,
> + .vsync_start = 480 + 60,
> + .vsync_end = 480 + 60 + 5,
> + .vtotal = 480 + 60 + 5 + 5,
> + .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
> +};
> +
> +static const struct panel_desc waveshare_7inch = {
> + .modes = &waveshare_7inch_mode,
> + .num_modes = 1,
> + .bpc = 8,
> + .size = {
> + .width = 154,
> + .height = 86,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> + .connector_type = DRM_MODE_CONNECTOR_DSI,
> +};
> +
> static const struct drm_display_mode winstar_wf35ltiacd_mode = {
> .clock = 6410,
> .hdisplay = 320,
> @@ -4592,6 +4617,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "vxt,vl050-8048nt-c01",
> .data = &vl050_8048nt_c01,
> + }, {
> + .compatible = "waveshare,7inch-touchscreen",
> + .data = &waveshare_7inch,
> }, {
> .compatible = "winstar,wf35ltiacd",
> .data = &winstar_wf35ltiacd,
> --
> 2.17.1
>
next prev parent reply other threads:[~2024-01-09 18:26 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 7:09 [PATCH v2 0/2] Add waveshare 7inch touchscreen panel support Shengyang Chen
2024-01-09 7:09 ` [PATCH v2 1/2] dt-bindings: display: panel: panel-simple: Add compatible property for waveshare 7inch touchscreen panel Shengyang Chen
2024-01-09 16:32 ` Conor Dooley
2024-01-10 9:05 ` neil.armstrong
2024-01-16 9:41 ` Shengyang Chen
2024-01-16 9:40 ` Shengyang Chen
2024-01-16 17:16 ` Conor Dooley
2024-01-09 7:09 ` [PATCH v2 2/2] gpu: drm: panel: panel-simple: add new display mode " Shengyang Chen
2024-01-09 18:26 ` Jessica Zhang [this message]
2024-01-16 9:58 ` Shengyang Chen
2024-01-09 11:19 ` [PATCH v2 0/2] Add waveshare 7inch touchscreen panel support neil.armstrong
2024-01-09 17:21 ` Stefan Wahren
2024-01-16 9:44 ` Shengyang Chen
2024-01-09 17:28 ` Dave Stevenson
2024-01-16 9:54 ` Shengyang Chen
2024-01-16 9:32 ` Shengyang Chen
2024-01-16 9:34 ` neil.armstrong
2024-01-16 10:02 ` Shengyang Chen
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=9a2b1929-bd01-4d40-89ca-6785d1b9367a@quicinc.com \
--to=quic_jesszhan@quicinc.com \
--cc=airlied@gmail.com \
--cc=changhuang.liang@starfivetech.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=dave.stevenson@raspberrypi.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jack.zhu@starfivetech.com \
--cc=keith.zhao@starfivetech.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=shengyang.chen@starfivetech.com \
--cc=thierry.reding@gmail.com \
--cc=tzimmermann@suse.de \
--cc=wahrenst@gmx.net \
/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®