mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/bridge: tc358768: Long command support
@ 2025-10-21 13:22 Tomi Valkeinen
  2025-10-21 13:22 ` [PATCH 1/7] drm/bridge: tc358768: Fix typo in TC358768_DSI_CONTROL_DIS_MODE Tomi Valkeinen
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Tomi Valkeinen @ 2025-10-21 13:22 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Parth Pancholi,
	Francesco Dolcini
  Cc: dri-devel, linux-kernel, Tomi Valkeinen, Dmitry Osipenko

This series makes some small improvements to the tc358768 driver, and
then adds support for long commands, commands that have more than 8
bytes of payload.

This has been tested on Toradex Verdin AM62 board, with a ST7703 based
DSI panel which requires initial configuration using commands that have
8+ bytes.

I tested the following combinations, by observing the panel visually and
the DSI lanes with an oscilloscope:

- HS command transfer, continuous clock
- HS command transfer, non-continuous clock
- LP command transfer, continuous clock
- LP command transfer, non-continuous clock

All except LP + continuous clock work fine. While observing the lanes
with normal oscilloscope is a very high level and vague view of what
exactly is going on the lanes, it still looks good to me: initial
commands are sent in LP, and then video data is being sent in HS, and
clock lane is continuous. However, the panel stays black, so something
is not quite right.

As it doesn't make sense to send commands in LP during initial
configuration, especially with longer commands, I will leave that
particular combination unresolved. I'd be interested to hear if it works
on some other panel.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
---
Parth Pancholi (1):
      drm/bridge: tc358768: Set pre_enable_prev_first for reverse order

Tomi Valkeinen (6):
      drm/bridge: tc358768: Fix typo in TC358768_DSI_CONTROL_DIS_MODE
      drm/bridge: tc358768: Separate indirect register writes
      drm/bridge: tc358768: Support non-continuous clock
      drm/bridge: tc358768: Add LP mode command support
      drm/bridge: tc358768: Separate video format config
      drm/bridge: tc358768: Add support for long command tx via video buffer

 drivers/gpu/drm/bridge/tc358768.c | 202 +++++++++++++++++++++++++++++---------
 1 file changed, 157 insertions(+), 45 deletions(-)
---
base-commit: e5f0a698b34ed76002dc5cff3804a61c80233a7a
change-id: 20251021-tc358768-93eb23689b7a

Best regards,
-- 
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-12-19 11:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-21 13:22 [PATCH 0/7] drm/bridge: tc358768: Long command support Tomi Valkeinen
2025-10-21 13:22 ` [PATCH 1/7] drm/bridge: tc358768: Fix typo in TC358768_DSI_CONTROL_DIS_MODE Tomi Valkeinen
2025-12-19  9:41   ` Francesco Dolcini
2025-10-21 13:22 ` [PATCH 2/7] drm/bridge: tc358768: Set pre_enable_prev_first for reverse order Tomi Valkeinen
2025-12-19  9:42   ` Francesco Dolcini
2025-10-21 13:22 ` [PATCH 3/7] drm/bridge: tc358768: Separate indirect register writes Tomi Valkeinen
2025-12-19 10:29   ` Francesco Dolcini
2025-10-21 13:23 ` [PATCH 4/7] drm/bridge: tc358768: Support non-continuous clock Tomi Valkeinen
2025-12-19 10:34   ` Francesco Dolcini
2025-10-21 13:23 ` [PATCH 5/7] drm/bridge: tc358768: Add LP mode command support Tomi Valkeinen
2025-12-19 10:37   ` Francesco Dolcini
2025-10-21 13:23 ` [PATCH 6/7] drm/bridge: tc358768: Separate video format config Tomi Valkeinen
2025-12-19 10:44   ` Francesco Dolcini
2025-10-21 13:23 ` [PATCH 7/7] drm/bridge: tc358768: Add support for long command tx via video buffer Tomi Valkeinen
2025-12-19 11:17   ` Francesco Dolcini
2025-11-10 16:27 ` [PATCH 0/7] drm/bridge: tc358768: Long command support João Paulo Gonçalves

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®