From: Herve Codina <herve.codina@bootlin.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Jessica Zhang <jessica.zhang@oss.qualcomm.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>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH 2/3] drm/panel: Add support for the Leadtek LTK08QV25BYL panel
Date: Tue, 4 Nov 2025 09:49:37 +0100 [thread overview]
Message-ID: <20251104094937.042afc40@bootlin.com> (raw)
In-Reply-To: <c47fc9bd-c041-4fc7-b08d-8f15622f4fba@linaro.org>
Hi Neil,
On Wed, 29 Oct 2025 21:45:24 +0100
Neil Armstrong <neil.armstrong@linaro.org> wrote:
...
> > +
> > +static const struct drm_display_mode ltk028qv25byl_mode = {
> > + .hdisplay = 240,
> > + .hsync_start = 240 + 120,
> > + .hsync_end = 240 + 120 + 4,
> > + .htotal = 240 + 120 + 4 + 120,
> > + .vdisplay = 320,
> > + .vsync_start = 320 + 8,
> > + .vsync_end = 320 + 8 + 2,
> > + .vtotal = 320 + 8 + 2 + 6,
> > + .clock = 10000000 / 1000,
>
> Usually we calculate the clock from the mode parameters, won't it work here ?
>
The panel has an internal oscillator an the data transfer need to be sync with
this oscillator.
10M pixel per sec is the value set by the vendor.
I tried to use a value based on other mode parameters such as
(240 + 120 + 4 + 120) * (320 + 8 + 2 + 6) * 60 / 1000
and it didn't work. I also tried ' ... * 90 / 1000) and ' ... * 100 / 1000)
without better results.
I can add a comment if you want in the next iteration to spot the value:
--- 8< ---
.clock = 10000000 / 1000, /* 10 Mbps, internal panel oscillator */
--- 8< ---
Let me know.
...
> > + ctx->iovcc = devm_regulator_get(dev, "iovcc");
> > + if (IS_ERR(ctx->iovcc))
> > + return dev_err_probe(dev, PTR_ERR(ctx->iovcc),
> > + "Failed to get iovcc regulator\n");
>
> Can you switch to devm_regulator_bulk_get_const() ?
Yes, I will do that in the next iteration.
Best regards,
Hervé
next prev parent reply other threads:[~2025-11-04 8:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-21 7:34 [PATCH 0/3] Add support for the Leadtek LTK028QV25BYL display panel Herve Codina
2025-10-21 7:34 ` [PATCH 1/3] dt-bindings: display: panel: Add the Leadtek LTK08QV25BYL panel Herve Codina
2025-10-22 17:42 ` Conor Dooley
2025-10-21 7:34 ` [PATCH 2/3] drm/panel: Add support for " Herve Codina
2025-10-29 20:45 ` Neil Armstrong
2025-11-04 8:49 ` Herve Codina [this message]
2025-10-21 7:34 ` [PATCH 3/3] MAINTAINERS: Add the Leadtek LTK028QV25BYL panel driver entry Herve Codina
2025-10-29 20:45 ` 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=20251104094937.042afc40@bootlin.com \
--to=herve.codina@bootlin.com \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jessica.zhang@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.