mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@mailbox.org>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	dri-devel@lists.freedesktop.org
Cc: Conor Dooley <conor+dt@kernel.org>,
	David Airlie <airlied@gmail.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	Maxime Ripard <mripard@kernel.org>, Rob Herring <robh@kernel.org>,
	Sam Ravnborg <sam@ravnborg.org>, Simona Vetter <simona@ffwll.ch>,
	Thierry Reding <thierry.reding@gmail.com>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v3 1/2] drm/panel: simple: Add Waveshare 13.3" panel support
Date: Thu, 5 Mar 2026 21:46:36 +0100	[thread overview]
Message-ID: <f596792c-fa83-4711-8782-b6e2031da4d5@mailbox.org> (raw)
In-Reply-To: <b10bf126-d664-42e4-a333-10657eca6d94@linaro.org>

On 2/16/26 5:01 PM, Neil Armstrong wrote:
> On 1/17/26 01:49, Marek Vasut wrote:
>> Add WaveShare 13.3inch 1920x1080 DSI Capacitive Touch Display support.
>>
>> While the panel is described as DPI panel, it is part of a larger unit
>> in non-removable metal casing, so the actual internal configuration is
>> not known. The panel is attached to "waveshare,dsi2dpi" bridge via DT.
>> It is likely that internally, this panel is an LVDS panel, connected to
>> ICN6211 DSI-to-DPI bridge and then another unknown DPI-to-LVDS bridge.
>>
>> Current device link is at https://www.waveshare.com/13.3inch-dsi-lcd.htm
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
>> ---
>> Cc: Conor Dooley <conor+dt@kernel.org>
>> Cc: David Airlie <airlied@gmail.com>
>> Cc: Geert Uytterhoeven <geert+renesas@glider.be>
>> Cc: Jessica Zhang <jesszhan0024@gmail.com>
>> Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
>> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Cc: Magnus Damm <magnus.damm@gmail.com>
>> Cc: Maxime Ripard <mripard@kernel.org>
>> Cc: Neil Armstrong <neil.armstrong@linaro.org>
>> Cc: Rob Herring <robh@kernel.org>
>> Cc: Sam Ravnborg <sam@ravnborg.org>
>> Cc: Simona Vetter <simona@ffwll.ch>
>> Cc: Thierry Reding <thierry.reding@gmail.com>
>> Cc: Thomas Zimmermann <tzimmermann@suse.de>
>> Cc: devicetree@vger.kernel.org
>> Cc: dri-devel@lists.freedesktop.org
>> Cc: linux-kernel@vger.kernel.org
>> Cc: linux-renesas-soc@vger.kernel.org
>> ---
>> V3: New patch. Note that the compatible string is already part of
>>      Documentation/devicetree/bindings/display/panel/panel-simple.yaml
>> ---
>>   drivers/gpu/drm/panel/panel-simple.c | 30 ++++++++++++++++++++++++++++
>>   1 file changed, 30 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/ 
>> panel/panel-simple.c
>> index 91ab280869bac..40a73c32b0b17 100644
>> --- a/drivers/gpu/drm/panel/panel-simple.c
>> +++ b/drivers/gpu/drm/panel/panel-simple.c
>> @@ -4998,6 +4998,33 @@ 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_133inch_mode = {
>> +    .clock = 148500,
>> +    .hdisplay = 1920,
>> +    .hsync_start = 1920 + 88,
>> +    .hsync_end = 1920 + 88 + 44,
>> +    .htotal = 1920 + 88 + 44 + 148,
>> +    .vdisplay = 1080,
>> +    .vsync_start = 1080 + 4,
>> +    .vsync_end = 1080 + 4 + 5,
>> +    .vtotal = 1080 + 4 + 5 + 36,
>> +    .flags = DRM_MODE_FLAG_PVSYNC | DRM_MODE_FLAG_PHSYNC,
>> +};
>> +
>> +static const struct panel_desc waveshare_133inch = {
>> +    .modes = &waveshare_133inch_mode,
>> +    .num_modes = 1,
>> +    .bpc = 8,
>> +    .size = {
>> +        .width = 293,
>> +        .height = 163,
>> +    },
>> +    .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
>> +    .connector_type = DRM_MODE_CONNECTOR_DPI,
>> +    .bus_flags = DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE |
>> +             DRM_BUS_FLAG_SYNC_SAMPLE_POSEDGE,
>> +};
>> +
>>   static const struct drm_display_mode winstar_wf35ltiacd_mode = {
>>       .clock = 6410,
>>       .hdisplay = 320,
>> @@ -5598,6 +5625,9 @@ static const struct of_device_id 
>> platform_of_match[] = {
>>       }, {
>>           .compatible = "vxt,vl050-8048nt-c01",
>>           .data = &vl050_8048nt_c01,
>> +    }, {
>> +        .compatible = "waveshare,13.3inch-panel",
>> +        .data = &waveshare_133inch,
>>       }, {
>>           .compatible = "winstar,wf35ltiacd",
>>           .data = &winstar_wf35ltiacd,
> 
> LGTM
> 
> 
> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Would it be OK to apply this now ? Thank you

  reply	other threads:[~2026-03-05 20:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-17  0:49 Marek Vasut
2026-01-17  0:49 ` [PATCH v3 2/2] arm64: dts: renesas: sparrow-hawk: Add overlay for WaveShare Display 13.3" Marek Vasut
2026-03-25 13:20   ` Geert Uytterhoeven
2026-03-25 13:23   ` Geert Uytterhoeven
2026-01-19 15:56 ` [PATCH v3 1/2] drm/panel: simple: Add Waveshare 13.3" panel support Geert Uytterhoeven
2026-01-19 19:08   ` Marek Vasut
2026-01-20  9:33     ` Geert Uytterhoeven
2026-01-20 10:01       ` Marek Vasut
2026-02-16 16:01 ` Neil Armstrong
2026-03-05 20:46   ` Marek Vasut [this message]
2026-03-10 13:28 ` Neil Armstrong

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=f596792c-fa83-4711-8782-b6e2031da4d5@mailbox.org \
    --to=marek.vasut@mailbox.org \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert+renesas@glider.be \
    --cc=jesszhan0024@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=magnus.damm@gmail.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robh@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=simona@ffwll.ch \
    --cc=thierry.reding@gmail.com \
    --cc=tzimmermann@suse.de \
    /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®