lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20260127-rubikpi-next-20260116-bugfix-v1-1-46e3396533ac@thundersoft.com>
Date: Tue, 27 Jan 2026 15:20:52 +0800
From: Hongyang Zhao <hongyang.zhao@...ndersoft.com>
To: Andrzej Hajda <andrzej.hajda@...el.com>, 
 Neil Armstrong <neil.armstrong@...aro.org>, Robert Foss <rfoss@...nel.org>, 
 Laurent Pinchart <Laurent.pinchart@...asonboard.com>, 
 Jonas Karlman <jonas@...boo.se>, Jernej Skrabec <jernej.skrabec@...il.com>, 
 Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, 
 Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, 
 David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org, 
 Hongyang Zhao <hongyang.zhao@...ndersoft.com>
Subject: [PATCH] drm/bridge: lt9611: Remove I2C address change in sleep

The lt9611_sleep_setup() modifies the chip's I2C address via registers
0x8023/0x8024 and reconfigures GPIO0 via 0x8157/0x8149. Since there is
no corresponding restore in the wake-up path, I2C communication fails
after resume.

Remove the I2C address and GPIO reconfiguration from sleep setup. The
MIPI Rx power-down and TX PHY disable sequences are sufficient.

Signed-off-by: Hongyang Zhao <hongyang.zhao@...ndersoft.com>
---
The lt9611_sleep_setup() function modifies the chip's I2C address via
registers 0x8023/0x8024 and reconfigures GPIO0. However, there is no
corresponding restore in the wake-up path, which causes I2C communication
to fail after resume.

This patch removes the I2C address and GPIO reconfiguration from sleep
setup. The MIPI Rx power-down and TX PHY disable sequences are sufficient
for proper sleep operation.

Tested on RubikPi3 (QCS6490) platform with the LT9611 HDMI bridge.
---
 drivers/gpu/drm/bridge/lontium-lt9611.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lontium-lt9611.c
index a2d032ee4744..ae47efe9d77f 100644
--- a/drivers/gpu/drm/bridge/lontium-lt9611.c
+++ b/drivers/gpu/drm/bridge/lontium-lt9611.c
@@ -424,11 +424,6 @@ static void lt9611_enable_hpd_interrupts(struct lt9611 *lt9611)
 static void lt9611_sleep_setup(struct lt9611 *lt9611)
 {
 	const struct reg_sequence sleep_setup[] = {
-		{ 0x8024, 0x76 },
-		{ 0x8023, 0x01 },
-		{ 0x8157, 0x03 }, /* set addr pin as output */
-		{ 0x8149, 0x0b },
-
 		{ 0x8102, 0x48 }, /* MIPI Rx power down */
 		{ 0x8123, 0x80 },
 		{ 0x8130, 0x00 },

---
base-commit: 46fe65a2c28ecf5df1a7475aba1f08ccf4c0ac1b
change-id: 20260127-rubikpi-next-20260116-bugfix-75db8104d221

Best regards,
-- 
Hongyang Zhao <hongyang.zhao@...ndersoft.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ