Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1394416lqh; Mon, 6 May 2024 06:37:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXACHixm8f9mCqj3kG/9jEPdqwoY+gyD6pMqnGlGVBXh8+uqLM9soIuhXB/PFc84HNQu9BcAaENGV8R77cwtPlkWNi86U9BySUvLU3ZNA== X-Google-Smtp-Source: AGHT+IGMl7w2fHIAYGhFNqelPK5xJzUBDnKyLYHgg58Qs0VxziifqtH1yJTsT7IlGWKzFwJ5yaCx X-Received: by 2002:a2e:9dd1:0:b0:2d8:8fb6:a53d with SMTP id x17-20020a2e9dd1000000b002d88fb6a53dmr8227184ljj.42.1715002677466; Mon, 06 May 2024 06:37:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715002677; cv=pass; d=google.com; s=arc-20160816; b=WsBEmfgJDmEZgtP2RWcXlW0KHpGaANq5Z/Wrt3SkIyGg+zy0wLrAlvyGhqXWGWKJ5g FRWPz6dowpckx8pNBCKTsovBdkFw35t0fil7fH0awoCCIjRe3kUlLHXS+Xjb72BeWQwg Ejw7gKv+A37S87Sb17lVlQaFmxrWzzmi5PNe9pI3ikclIHdWqhd0cKT6/2OQ3XL44YYR VXqy4zj63xJMu2bo9hLa6EAf20SOt5RjoPTYaKQpkGg3EUvkgsasHM2w5ajwprGAl+Q0 3fFY5kmlbHXbW6mihCY+kVqFg0/QF3VFfSRM1imwLfUS4ltsKngD43efmuOVen8/21Jg +QTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=bPQKE4S2VZbueyfavtxziiFoV3GGms9XNypz+UATpH0=; fh=SuRMajwH7N2ZLVBLirbkCwTFKIhKCObxyHKAw4nU6hQ=; b=arFCAza5IVjyosQ3nMn8FE4Yo69wIb8yDXEOYFODCrI8zcLCB7Cst22UnZtEGPg8Yt YE/5xb15iT+Xx6hZt50mrnOW/SlNYef/B9I9yCjzKyumc1pPx31LgvJ/F+45liIOugHw 8UqwUOM5i3KAFb5W3cWt+0DHmFpLU/QHtrVf1h9fRjztQ6y44pBONppQbpAGhidUE68/ 1spuCrbMJprw3Y1u+8epAN421RDRtzAP+hlKQyWJ0cpWYhPel0JOZ05QearF4DiXkehr tV6sDP9yeGI9aVdP/heReSz6QcwhVGUr3Gleuc2lVrg1LWxue+ncY3pZTNDUKYGFrV75 ULXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PFKvbref; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169898-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lf10-20020a170906ae4a00b00a59ab50d0e8si2916160ejb.796.2024.05.06.06.37.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 06:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PFKvbref; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169898-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169898-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DFA601F2218A for ; Mon, 6 May 2024 13:37:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4654A8061C; Mon, 6 May 2024 13:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PFKvbref" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 724098005C for ; Mon, 6 May 2024 13:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715002518; cv=none; b=JK/sfe4WukzAD9k2sUhQQJj8QFeBw/Ieg99em7Bc/DHklxBZlVMxZMcmHb7KxJREw+fK76C1kqNER0MqmJmZh6BgGMjpopU8RM5/lBczekWAcjMRzwU+csoARCJmfuhPv4IlbjDc9QoS3XMgAawoG8X2SXVTWAT07dYdW/sSQos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715002518; c=relaxed/simple; bh=TuYMERR0RaUaMlVi9q6zNXvlpim/SMByOC7RHr5bFKA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G4Y3SKeTi59bUWHziU9Zf4Ttr2qrWLXhc3AOPX48rUPGl6tYVFCHx6wyNffO/1H9zCtT3pULyVmLaILlkf+RWsC1U3Smtzq/DjJG55iqOFWgC1iue3e/lrURRmwo4wCzAaiXHuU+79ALXdkK4fOISi8dFxZLhtpiO8QdSLykLlo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PFKvbref; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97E0BC3277B; Mon, 6 May 2024 13:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715002518; bh=TuYMERR0RaUaMlVi9q6zNXvlpim/SMByOC7RHr5bFKA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=PFKvbrefjvVIf53ItfzYZvHVza+Ja0BR+Vd7BHiSXEA1gtTj09HbUVXMNyYUMffFR /Wp4yNUxMD8kCBWwzKQpWQL4T3Y1mWiGvXFjBH9WDLET+qYEAWK7PtxrFjhQbixWQ6 oOE3PIhRQFuXvdLywvfIOk4Mp9D/DKUsRd0qFNyYPec+lVs1DljLS74AIuLqldYBA9 deu6o8W1gp9xjfDwqskRyyX50TBHOEwcMQLVNJUfPrMxdl5KJffx3jeaz+/H/egyHv VoDfgA+MewIY+jixWlLFUWUMd74PAm5lZFYCZ8MAjAzwC4SeFjosrNDTgoZopKvqhZ ySULCnuFnPlmw== From: Michael Walle Date: Mon, 06 May 2024 15:34:32 +0200 Subject: [PATCH 03/20] drm/mediatek: dsi: add support for .dsi_lp11_notity() Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240506-tc358775-fix-powerup-v1-3-545dcf00b8dd@kernel.org> References: <20240506-tc358775-fix-powerup-v1-0-545dcf00b8dd@kernel.org> In-Reply-To: <20240506-tc358775-fix-powerup-v1-0-545dcf00b8dd@kernel.org> To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Chun-Kuang Hu , Philipp Zabel , Matthias Brugger , AngeloGioacchino Del Regno , Sam Ravnborg , Vinay Simha BN , Tony Lindgren Cc: Daniel Semkowicz , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Michael Walle X-Mailer: b4 0.12.4 drm_bridge_dsi_lp11_notify() shall be called while both the clock and data lanes are still in LP-11 mode. Add the callback. Signed-off-by: Michael Walle --- drivers/gpu/drm/mediatek/mtk_dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index ed45c9cc3137..d4a5a2bd591a 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm/mediatek/mtk_dsi.c @@ -709,6 +709,7 @@ static void mtk_output_dsi_enable(struct mtk_dsi *dsi) mtk_dsi_lane_ready(dsi); mtk_dsi_set_mode(dsi); + drm_bridge_dsi_lp11_notify(dsi->next_bridge); mtk_dsi_clk_hs_mode(dsi, 1); dsi->enabled = true; -- 2.39.2