mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexandre Marquet <tb@a-marquet.fr>
To: Doug Anderson <dianders@chromium.org>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jonas Karlman <jonas@kwiboo.se>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Jingoo Han <jingoohan1@gmail.com>,
	Inki Dae <inki.dae@samsung.com>,
	Seung-Woo Kim <sw0312.kim@samsung.com>,
	Kyungmin Park <kyungmin.park@samsung.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Peter Griffin <peter.griffin@linaro.org>,
	Alim Akhtar <alim.akhtar@samsung.com>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org,
	Lukas Timmermann <linux@timmermann.space>,
	Henrik Grimler <henrik@grimler.se>,
	Hendrik Noack <hendrik-noack@gmx.de>
Subject: Re: [PATCH 3/3] drm/panel_edp: Add SEC LTL101DL02-002 panel
Date: Thu, 29 Oct 2026 21:55:32 +0100	[thread overview]
Message-ID: <auOyxKTuSNysAA3X@laptop-218> (raw)
In-Reply-To: <CAD=FV=XmfYM8diBOh3UidN7xEuB3n+n9oAm_zhopfFLERC2QpQ@mail.gmail.com>

Hi,

Thank you for your feedback.

Le Wed, Oct 28, 2026 at 09:34:15AM -0700, Doug Anderson a écrit :
> Hi,
> 
> On Tue, Oct 27, 2026 at 5:01 AM Alexandre Marquet via B4 Relay
> <devnull+tb.a-marquet.fr@kernel.org> wrote:
> >
> > From: Alexandre Marquet <tb@a-marquet.fr>
> >
> > Add an entry for the eDP SEC LTL101DL02-002 panel used in
> > google-manta.
> >
> > Raw EDID dump:
> >
> > 00 ff ff ff ff ff ff 00 4c a3 0f 9c 00 00 00 00
> > 05 0e 01 03 80 21 19 78 0a 87 fe 98 57 51 8c 27
> > 21 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
> > 01 01 01 01 01 01 14 69 00 a0 a0 40 2e 60 30 20
> > 36 00 1e d6 10 00 00 19 00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9e
> >
> > Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
> > ---
> >  drivers/gpu/drm/panel/panel-edp.c | 2 ++
> >  1 file changed, 2 insertions(+)
> 
> nit: subject doesn't quite fit the pattern of recent commits (_ vs -).

Apologies for not noticing. I will fix that in v2.

> 
> 
> > diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
> > index 94bc54c3833a..c92985363093 100644
> > --- a/drivers/gpu/drm/panel/panel-edp.c
> > +++ b/drivers/gpu/drm/panel/panel-edp.c
> > @@ -2198,6 +2198,8 @@ static const struct edp_panel_entry edp_panels[] = {
> >         EDP_PANEL_ENTRY('L', 'G', 'D', 0x0778, &delay_200_500_e200_d200, "134WT1"),
> >         EDP_PANEL_ENTRY('L', 'G', 'D', 0x07fe, &delay_200_500_e200_d200, "LP116WHA-SPB1"),
> >
> > +       EDP_PANEL_ENTRY('S', 'E', 'C', 0x9c0f, &delay_200_500_e50, "LTL101DL02-002"),
> > +
> 
> It would also be good to note in the commit message where you got the
> timings from. Datasheet? Downstream code? Guessing?

Both downstream code and guessing, as I could not get my hand on a
datasheet. I will add an explanation to the commit description.

Basically, the downstream code waits: at least 500ms before toggling the LCD_EN
GPIO for power on; and 200ms after. I matched the 200ms to the hpd_absent
delay, since in panel-edp.c, hpd_absent is also the delay that happens
right after enabling the LCD regulator (or toggling the enable GPIO, as
appropriate). Similarly, the unprepare delay is called just before
enabling the LCD regulator, through panel_edp_wait(), which matches the
way the 500ms delay is used in the downstream code.

For the enable delay, I went with the smallest value that would still
work, but I admit that I did not try anything below 50ms.

> 
> I had my AI agent take a look for itself. It found evidence suggesting
> the enable delay should be 97ms, not 50ms. The other ones seem to be
> OK.

In the downstream code, 97ms is the delay used before setting the
backlight on. My understanding is that this should be used elsewhere
(e.g.: in the backlight node of the device's DTS).

> 
> -Doug
Best regards,
Alex.

  reply	other threads:[~2026-10-29 20:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 12:01 [PATCH 0/3] DRM Google Nexus 10 display support Alexandre Marquet via B4 Relay
2026-10-27 12:01 ` [PATCH 1/3] drm/bridge: analogix_dp: deassert DP_PHY_PD on power-on for exynos Alexandre Marquet via B4 Relay
2026-10-29  8:27   ` Marek Szyprowski
2026-10-27 12:01 ` [PATCH 2/3] drm/exynos: exynos_dp: change poweron/off to encoder enable/disable Alexandre Marquet via B4 Relay
2026-10-29  8:28   ` Marek Szyprowski
2026-10-27 12:01 ` [PATCH 3/3] drm/panel_edp: Add SEC LTL101DL02-002 panel Alexandre Marquet via B4 Relay
2026-10-28 16:34   ` Doug Anderson
2026-10-29 20:55     ` Alexandre Marquet [this message]
2026-10-29 23:27       ` Doug Anderson

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=auOyxKTuSNysAA3X@laptop-218 \
    --to=tb@a-marquet.fr \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=alim.akhtar@samsung.com \
    --cc=andrzej.hajda@intel.com \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hendrik-noack@gmx.de \
    --cc=henrik@grimler.se \
    --cc=inki.dae@samsung.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jesszhan0024@gmail.com \
    --cc=jingoohan1@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=krzk@kernel.org \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@timmermann.space \
    --cc=luca.ceresoli@bootlin.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=peter.griffin@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=sw0312.kim@samsung.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®