Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2580585lqp; Mon, 25 Mar 2024 03:25:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZBijDJHW3U9jBzJqchChzb1CNUSPJhbL/yg7uKI7/6xX9HmS32q2kedh4Gg9p+hW8gS4LiJVbzx7eGzWQwwMSkqDiUCkZW+bbbOk/Uw== X-Google-Smtp-Source: AGHT+IFL1DxzBymSofo7akNn+wtBF28Y5tWa8stC40RIZQd2UriKIoyCFfe7SJdK1zDbFnADHkSa X-Received: by 2002:a05:620a:5d95:b0:789:d55a:d1d3 with SMTP id xx21-20020a05620a5d9500b00789d55ad1d3mr6874824qkn.4.1711362308329; Mon, 25 Mar 2024 03:25:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711362308; cv=pass; d=google.com; s=arc-20160816; b=UxyM/i2GAzv8AozboWPpmDZEeYqrfMM0VlyfvBc0P340XFWaMRLCC/JJLtFrdYXkXQ Pda8e6x4aGSanfB0BYD/hj/4G38qPETYNb4xwG9hxq1jEeMADg15QFssgSaBiMxJJclg PzbyK6CBw0Wds8accQ2Ypkax1Y688fVEZInQZgOARS0enLPhl9epZh25bJ2lUEwZcYps M4IIbDDb2wvxyCIWCFa3CdyWe1m4z35oeo45Wdx171EP8JFFsXx/EyfXk26wArvslq56 zChTOoSi4s89S2M5pwGSvxEIchba6P4ImF3At9hTZ0yIQg305kxMdMZcxo/2zKKAp4TT 4yGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LxfDsokzasW8pPrzF7p6KdEL+Mo75uIG5cTg2lAeM9Q=; fh=W82xrrMhUUasvC9JH1dKfC9wogep8RVo3NpanNXYxAU=; b=CSfCEzBsG0a3zELDBgN0AsSiKT3cOgn/11WuX0P/iK0s6AqGoPw/3eAKeAM/kE7N+M wW2JdskKCKWA+gSEMDGDNYACacp9jm4QbvVkaV83Cu7TpRPaJT0auLGlVwxeJOfG+G97 9m3gcSX1sEypqWbqm2BL+k8rzcq+RfyVdrQHf1rHOdaTe/jar+GsUh7vZqfxunNxKajh Voa88T/Eckq895YMCP9Jj6UJGnjvVNs3s6Apr02uTb419qj1QzUxu5CjNSsNejo91b0r DHNy9j4EQ//asrew9zqQYfg1/qcNfUAHHQRSTYsFLVEcPlpmWKLWgCTOgJIfibIGB7gg eDEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T8sI8W2t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id xz20-20020a05620a5e1400b00789e2f74bd3si5069954qkn.464.2024.03.25.03.25.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 03:25:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T8sI8W2t; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116187-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116187-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0C7331C32B17 for ; Mon, 25 Mar 2024 10:25:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C81F3B95B1; Mon, 25 Mar 2024 03:33:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T8sI8W2t" 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 251F617C6AE; Sun, 24 Mar 2024 23:43:02 +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=1711323782; cv=none; b=fESKrNHndUaO06QCyxa4osXhAKGQTUqQuDWuG6kV/758g7drRA2oCVYJFufArklaWvZJLvmVP0XK8oNr5YR/GzVlhr+MINaZRcuXWniXIMcH3Av1wZrttW30ZzUxPYaKdEAfMLMM50c/xRhuJYDD4jhcPhvAZ1JhfQtIrZMmyts= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323782; c=relaxed/simple; bh=Drqi5r3d6775OKi+5Qy3gKeom29Vnn5yKc0wag/duSQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Yemp1Wjd/GnPRCdvIQBXQYks0AInioSsUJLt1m8yNVNsQ8gpk9ZPaMSD+gr4LC5LC1gD4nf8jnRxxW3V+roqfScaGdi26o7l1bdDxbdEfbkplC/nB/iJ3I8ayTssByumv1ES6YwdTfbEhgo+5SQ1jJNmPOBFPS8My2iE6KIu1cM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=T8sI8W2t; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45F22C43399; Sun, 24 Mar 2024 23:43:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711323782; bh=Drqi5r3d6775OKi+5Qy3gKeom29Vnn5yKc0wag/duSQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T8sI8W2tvKzu0P9n08vc40t+uekqbUn11wkblzaE/4IlOik0ULfGVA2pI0EHxsiV/ HK5mJ/oG1NyG+YzmagDprCrPFGgnAqcJiyfF/TWJyh+xfd11/EC+LKb07+kmOK+zBB Amb5zyc+QOZBIqO3j9X6wGJ06DWUpkbMyYzZWLkZADRgfaD9Vt690Rvq7cWfhliDcM SbDgEk0d3bD4WXDRZuH61vAKw8PVMDUCN+PrMe4FVu2HWQsLiEPV4c+txIvc78L0Ht sfvumKGej2IXW+HX0FcKdobi4121lqOxD9jHeROC0KxBQSZKEqSX8236XWcWJRJLWo 5Bc+gaLc1srSQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Konrad Dybcio , Caleb Connolly , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.10 158/238] clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times Date: Sun, 24 Mar 2024 19:39:06 -0400 Message-ID: <20240324234027.1354210-159-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324234027.1354210-1-sashal@kernel.org> References: <20240324234027.1354210-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Konrad Dybcio [ Upstream commit 117e7dc697c2739d754db8fe0c1e2d4f1f5d5f82 ] SDM845 downstream uses non-default values for GDSC internal waits. Program them accordingly to avoid surprises. Fixes: 81351776c9fb ("clk: qcom: Add display clock controller driver for SDM845") Signed-off-by: Konrad Dybcio Tested-by: Caleb Connolly # OnePlus 6 Link: https://lore.kernel.org/r/20240103-topic-845gdsc-v1-1-368efbe1a61d@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- drivers/clk/qcom/dispcc-sdm845.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/dispcc-sdm845.c b/drivers/clk/qcom/dispcc-sdm845.c index 5c932cd17b140..8cd8174ac9aa7 100644 --- a/drivers/clk/qcom/dispcc-sdm845.c +++ b/drivers/clk/qcom/dispcc-sdm845.c @@ -768,6 +768,8 @@ static struct clk_branch disp_cc_mdss_vsync_clk = { static struct gdsc mdss_gdsc = { .gdscr = 0x3000, + .en_few_wait_val = 0x6, + .en_rest_wait_val = 0x5, .pd = { .name = "mdss_gdsc", }, -- 2.43.0