From patchwork Sat Dec 2 07:54:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 750214 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="eKktrYYU" Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01156129 for ; Sat, 2 Dec 2023 00:03:34 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 082016049B; Sat, 2 Dec 2023 08:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1701504214; bh=APkUpUjdG6p2BEFI0aefXVu4L/0Kmz7mGVrA3hsZlwg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eKktrYYUsJXcuVe4F9Du17ZZLWmMXcEksUnVV5+Q2DZJ+SLdDAtRzdkRe/UlM/AEG SomfsvhEhIJkHcUjsgVfgAdkhXHFk9aszV+2zdSs3SrcXztaq/QT0xPKS+uV+w1b+6 3mzGsB+TiWIQsHhfPK/pZ/+ocJR1uvF+hcBiVHsTmPYHKDBgsd8wwWbIp+sS/5AJt+ s2RNmjv7RmsBF4w/e6YRCWbUcZsbuRYdcVMWtWmLinzhMto6XMIc9GBRK9xdyU4BKN UMX38B3LbjLlOwDq39zJcXEZoUo7GnBjyI7r7kmh4tjRF0HJ0xxhauWxOnMk+KZA+S 67uoKbjLOIC3w== From: Tony Lindgren To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Simha BN , Sam Ravnborg Cc: Carl Philipp Klemm , Ivaylo Dimitrov , Merlijn Wajer , Pavel Machek , Sebastian Reichel , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v2 08/10] drm/bridge: tc358775: Enable pre_enable_prev_first flag Date: Sat, 2 Dec 2023 09:54:47 +0200 Message-ID: <20231202075514.44474-9-tony@atomide.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231202075514.44474-1-tony@atomide.com> References: <20231202075514.44474-1-tony@atomide.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Set pre_enable_prev_first to ensure the previous bridge is enabled first. Signed-off-by: Tony Lindgren Reviewed-by: Michael Walle Tested-by: Michael Walle --- drivers/gpu/drm/bridge/tc358775.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c --- a/drivers/gpu/drm/bridge/tc358775.c +++ b/drivers/gpu/drm/bridge/tc358775.c @@ -680,6 +680,7 @@ static int tc_probe(struct i2c_client *client) tc->bridge.funcs = &tc_bridge_funcs; tc->bridge.of_node = dev->of_node; + tc->bridge.pre_enable_prev_first = true; drm_bridge_add(&tc->bridge); i2c_set_clientdata(client, tc);