All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/bridge: lt9611uxc: fix firmware update verification
@ 2026-11-24 23:13 Dmitry Baryshkov
  2026-11-24 23:13 ` [PATCH 1/2] drm/bridge: lt9611uxc: read the flash back in read mode Dmitry Baryshkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dmitry Baryshkov @ 2026-11-24 23:13 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Luca Ceresoli, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
	Sam Ravnborg, Dmitry Baryshkov
  Cc: dri-devel, linux-kernel

The firmware update verifies the flash backwards: it reports a failure
when the read-back matches the image and success when it does not. The
read-back itself is also broken, as it never switches the flash into
read mode. Updating an SM8350-HDK bridge from firmware 0x41 to 0x43
printed "updates successfully" even though the comparison had failed.

Fix both.

---
Dmitry Baryshkov (2):
      drm/bridge: lt9611uxc: read the flash back in read mode
      drm/bridge: lt9611uxc: report a failed firmware update as a failure

 drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
base-commit: f1ac44c32cba88ad65dcecd4a279661d14e93651
change-id: 20261125-b4-lt9611uxc-fw-verify-22ef8b3e047c

Best regards,
--  
With best wishes
Dmitry


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

end of thread, other threads:[~2026-11-27 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 23:13 [PATCH 0/2] drm/bridge: lt9611uxc: fix firmware update verification Dmitry Baryshkov
2026-11-24 23:13 ` [PATCH 1/2] drm/bridge: lt9611uxc: read the flash back in read mode Dmitry Baryshkov
2026-11-24 23:13 ` [PATCH 2/2] drm/bridge: lt9611uxc: report a failed firmware update as a failure Dmitry Baryshkov
2026-11-27 17:11 ` [PATCH 0/2] drm/bridge: lt9611uxc: fix firmware update verification Luca Ceresoli

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.