From patchwork Sat Dec 2 07:54:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 749562 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="S2iY1w9h" Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E3FF134 for ; Sat, 2 Dec 2023 00:02:43 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id A1C5860406; Sat, 2 Dec 2023 08:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1701504163; bh=XX98Cqt5NzbeNpKXwhQvSO72W3DmrA1+cXFaVWu20AI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S2iY1w9hQzsJd6tsprr6wAbF7NSTBwi9g4G5xWnC5Nht4jWdrjnuDmjFAkg8y3GbT omPnGkj0dZlvuTjaI+HaCbIFiP+PkEZoO8QTgRmsFMJOxj2uSDiAZzBAOZuW5W2LV3 FqPUafnNfYPiSgMlBXyse73WO91TF2XBgyBhd13bvfO9TljQoln+xNlbXMrnklOnSZ GLWyHnHxZGLS/zfbFP1LsS8kgo17btlbH7hDZs8SN9N3Ez3FwhPvIkrmF2jPHYJudz 5GdbCRYPxvNFYYEkmcAgPDdm2nEhkDDZFgLwwwIY+BtOGkJ1o/54+76WY/vz2B/A/x P8fnjymCeFKkQ== From: Tony Lindgren To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , 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 07/10] drm/bridge: tc358775: Add burst and low-power modes Date: Sat, 2 Dec 2023 09:54:46 +0200 Message-ID: <20231202075514.44474-8-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 Burst and low-power modes are supported both for tc358765 and tc358775. Signed-off-by: Tony Lindgren Reviewed-by: Michael Walle Tested-by: Michael Walle --- drivers/gpu/drm/bridge/tc358775.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ -619,7 +619,8 @@ static int tc_attach_host(struct tc_data *tc) dsi->lanes = tc->num_dsi_lanes; dsi->format = MIPI_DSI_FMT_RGB888; - dsi->mode_flags = MIPI_DSI_MODE_VIDEO; + dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | + MIPI_DSI_MODE_LPM; ret = devm_mipi_dsi_attach(dev, dsi); if (ret < 0) {