mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@mailbox.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: dri-devel@lists.freedesktop.org,
	Conor Dooley <conor+dt@kernel.org>,
	David Airlie <airlied@gmail.com>,
	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>,
	Neil Armstrong <neil.armstrong@linaro.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: Mon, 19 Jan 2026 20:08:04 +0100	[thread overview]
Message-ID: <926a0b23-5159-4f4e-b278-b545ae281410@mailbox.org> (raw)
In-Reply-To: <CAMuHMdXHKJYcP78WLUfGrN8v+PmChj7jEsjhnVXYnSOzZ7mkpw@mail.gmail.com>

On 1/19/26 4:56 PM, Geert Uytterhoeven wrote:

Hello Geert,

>> --- 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,
>> +};
> 
> That looks like the plain standard 60Hz Full HD mode.
> Is there really no other copy of that structure available in the kernel?
> 
> auo_t215hvn01_mode is almost the same, except for .clock and .flags.
> drivers/video/fbdev/core/modedb.c has the same mode, but in a different
> structure.

The panel-simple.c is full of similar-ish panel timings . The timings 
above are adapted from the waveshare DTO for this panel. What else would 
you suggest I do/use for this device ?

  reply	other threads:[~2026-01-19 19:08 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 [this message]
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
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=926a0b23-5159-4f4e-b278-b545ae281410@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@linux-m68k.org \
    --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®