Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2387875lqp; Sun, 24 Mar 2024 17:12:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWmJl6srFEBRw47x2d/NzRUDjyQ8AP73q33yroRpdbel/HYPJNESNARj8pIL6RT7JfXBlmpRQYCfjlyTvxCRNFIr1NBngyUb+KC8ON+Sw== X-Google-Smtp-Source: AGHT+IFWJTWX3INQMkRVoZVPTubnF4Vnm4HPHK2UPkxGEsdu/bxRzO/fkjlbO2g8gG+cA3PYAEU1 X-Received: by 2002:a81:bf43:0:b0:611:20db:e27c with SMTP id s3-20020a81bf43000000b0061120dbe27cmr4720385ywk.22.1711325531035; Sun, 24 Mar 2024 17:12:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711325531; cv=pass; d=google.com; s=arc-20160816; b=oCCBjjkz3gk4dzBiUen4fbJTN8ScJEZzTZBdcFT/PvaLHNtSGCg1OQF+UR9SFQvsrw 5L7XFUBdHit8PlI/i9lLiFA9NDWhD/YB/I1rMso7KWbGWyEPO3Yo4Nt9IykGWnd7y7lN nEYfcj+kl2G8RPmBSBOrGBYHpSJ1/o+UOJP7HuXxIBuBeEzrq0ni/IBsFkLrR35XH6A2 hnR+H+liwo/g/acpNSJiZTfQP0uynDvV4b+2BuGQIPnVTRJf0ny+XLh4IWzotWH3n/BP eqJ6cTEYo8N+RBV4PcJJZeTYuL5ok1a+FR7HANXfTwzuNGXhzx1R403kCVg3uTpDDqR8 zrmA== 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=myWu3BksGEYFnzt3uylqzFUdyqoycX8Y/qA4p/fBTR4=; fh=W82xrrMhUUasvC9JH1dKfC9wogep8RVo3NpanNXYxAU=; b=aerqXMPHArMnQ9w98gO/xjaEwPPMbud+va63IbhEtP+hKDkOXRiHE5jNToZOljdrrw wP6xntMBrNv825JWvKzz4DxftKZRdLWvdSHjVGv/PJ9NCbWVzfiEmorGMTya2u3mx2/c o/mlLHm/B4ArDCcPzOhnHyH9QownMFbOS7BD4XkGprPFsqaTLlK2Bbo502cAgL+of+Ze Ov45nJlZ4M1rTZe3ZJgDGMJKOnmBq4f1b41k8sSBV9fOmjUZXQ8zBeY+TcuA1N3y1pwl f5pX6R8cIkBQna4uW13aN+PDZG7JebsdCPLDn9UoLzVbKYOTqvzSMALq8GlWSeQmvdwY 3iLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V9aCKPHc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113334-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 cf26-20020a05622a401a00b004313ad075casi4365118qtb.291.2024.03.24.17.12.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113334-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=V9aCKPHc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113334-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113334-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 B08FF1C216D1 for ; Mon, 25 Mar 2024 00:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E402196E1F; Sun, 24 Mar 2024 22:42:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V9aCKPHc" 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 9F09C196E06; Sun, 24 Mar 2024 22:42:15 +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=1711320135; cv=none; b=Riw6V6oGtTgnKdxJb9+61eJ/IN8RmtE9TKABKI0nxgrpwKz/XHIaft1pDOhCRU2u1y4HobImCB85L5cw5we5l42B4JyeSEkXG0viDGCyJcPB+l1Nu3lFibAy0vIeUagyQCQhegEQ3vJSAlxR3AKi/qlSwPNnwqxwk/bF3O65GuU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320135; c=relaxed/simple; bh=bZsBnUnfKdFw2VCk5QyKwh671+Xs8KoP7fsGfnZBPpw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sD7in7fwPPYqx106r1BNYiRVuXaLqb8koPGZQeebpVAgpUsG76prrsAxBiUNq9GBqTxc9l5BztT/yXZ4z/UF0x9vxH4DzrU1RLYPCWU31EjO5yFbIcV5DWY/bgQR6Fg6K6ojaDHAcpwo2wPbEG/kd9wmoU1A/OBgXsKd+xZLBDc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V9aCKPHc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F082C433C7; Sun, 24 Mar 2024 22:42:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320135; bh=bZsBnUnfKdFw2VCk5QyKwh671+Xs8KoP7fsGfnZBPpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V9aCKPHc6tf5RCfwZAK9q2jln8Q+iDeNr9FP2iCaf5LG+Cl2HSOXFdnLNn/Cz/VJ8 B40ds8Blj95ONRXAfSmPuxBMTBb+3vXE+EEJGhWI2YSlUtMTzkDM3rQ/UeQUA/xZ39 nNtFiVhThnEv1lTbST6JVHNwB/3M2HspFTaLkCNinTRtrq2qzMxLmWrwx5kWbzBkZz 9LCfgwSmLFFF2eeSAXwOROmlvX7Xs54OkbLxAxBN0pCuyprOqTuQ5fztkd1zarIv9d Gv6kEJHEjWe4t4TQk0S7Ne2OAoG8j1hfQS+DOet5YIFcfpVsqnF41Pj/bvFYRKYXxE m3UKf5WXkpAVA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Konrad Dybcio , Caleb Connolly , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 443/715] clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times Date: Sun, 24 Mar 2024 18:30:22 -0400 Message-ID: <20240324223455.1342824-444-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 735adfefc3798..e792e0b130d33 100644 --- a/drivers/clk/qcom/dispcc-sdm845.c +++ b/drivers/clk/qcom/dispcc-sdm845.c @@ -759,6 +759,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