From: "Màxim Pedraza Padilla" <maximpedraza@gmail.com>
To: Maxime Ripard <mripard@kernel.org>
Cc: "Neil Armstrong" <neil.armstrong@linaro.org>,
"Jessica Zhang" <jesszhan0024@gmail.com>,
"Jyri Sarha" <jyri.sarha@iki.fi>,
"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Andrzej Hajda" <andrzej.hajda@intel.com>,
"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>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 3/4] drm/tilcdc: Implement state readout support
Date: Mon, 23 Nov 2026 11:55:32 +0100 [thread overview]
Message-ID: <20261123105532.21980-1-maximpedraza@gmail.com> (raw)
In-Reply-To: <awBShK7cjwT5LTLg@houat>
On Fri, Nov 20, 2026 at 03:01:50PM +0100, Maxime Ripard wrote:
> I think the real solution in this case is to fix the panel to report its
> polarity properly.
Agreed. The panel datasheet specifies negative HSYNC and VSYNC, and the
timings in this board's DT didn't say so. U-Boot programs both as active
low (IHS and IVS set in RASTER_TIMING_2).
Adding vsync-active = <0> works as expected. hsync-active = <0> doesn't,
though: tilcdc_crtc_mode_fixup() flips the HSYNC polarity of the adjusted
mode, so DRM_MODE_FLAG_NHSYNC ends up with IHS cleared, i.e. an active
high HSYNC pin according to the AM335x TRM (SPRUH73L, table 13-26). With
no HSYNC flag at all the pin is active low, matching both the panel and
U-Boot, and the readout matches the DT mode.
The fixup comment says the LCDC aligns VS on the second edge of HS, but I
couldn't find anything about it in the TRM. Do you know if it's still
needed? If it is, I guess the readout should keep undoing it; if not, a
fix there would let the DT describe the panel as it is.
Thanks,
Màxim
next prev parent reply other threads:[~2026-11-23 10:55 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 14:27 [RFC PATCH 0/4] drm/tilcdc: Implement state readout Màxim Pedraza Padilla
2026-11-16 14:27 ` [RFC PATCH 1/4] drm/bridge: Add atomic_sro_install_state hook Màxim Pedraza Padilla
2026-11-16 16:58 ` Maxime Ripard
2026-11-16 14:27 ` [RFC PATCH 2/4] drm/panel: Implement state readout in the panel bridge Màxim Pedraza Padilla
2026-11-16 16:59 ` Maxime Ripard
2026-11-16 14:27 ` [RFC PATCH 3/4] drm/tilcdc: Implement state readout support Màxim Pedraza Padilla
2026-11-16 17:12 ` Maxime Ripard
2026-11-18 21:21 ` Màxim Pedraza Padilla
2026-11-20 14:01 ` Maxime Ripard
2026-11-23 10:55 ` Màxim Pedraza Padilla [this message]
2026-11-24 14:11 ` Màxim Pedraza Padilla
2026-11-24 14:38 ` Tomi Valkeinen
2026-11-25 10:11 ` Maxime Ripard
2026-11-25 11:43 ` Tomi Valkeinen
2026-11-25 12:21 ` Maxime Ripard
2026-11-25 14:55 ` Tomi Valkeinen
2026-11-27 16:11 ` Maxime Ripard
2026-11-27 17:39 ` Tomi Valkeinen
2026-11-25 10:15 ` Màxim Pedraza Padilla
2026-11-25 11:53 ` Tomi Valkeinen
2026-11-25 13:36 ` Màxim Pedraza Padilla
2026-11-25 10:07 ` Maxime Ripard
2026-11-25 13:31 ` Màxim Pedraza Padilla
2026-11-27 9:53 ` Maxime Ripard
2026-11-16 14:27 ` [RFC PATCH 4/4] drm/panel: simple: Keep the enable GPIO as left by the bootloader Màxim Pedraza Padilla
2026-11-16 16:50 ` [RFC PATCH 0/4] drm/tilcdc: Implement state readout Maxime Ripard
2026-11-18 21:21 ` Màxim Pedraza Padilla
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=20261123105532.21980-1-maximpedraza@gmail.com \
--to=maximpedraza@gmail.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jesszhan0024@gmail.com \
--cc=jonas@kwiboo.se \
--cc=jyri.sarha@iki.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=simona@ffwll.ch \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tzimmermann@suse.de \
--cc=ukleinek@kernel.org \
/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.