Message ID | 20231122042814.4158076-1-quic_skakitap@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1093592vqb; Tue, 21 Nov 2023 20:36:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGYdY2IfY+Mtb5jum9HfJCLSXvGHZ4ci4n8uwtskqmX/RWB39GLHD1GpcQjYSlOGiKzpdF X-Received: by 2002:a17:902:7e88:b0:1cf:31c4:3a7 with SMTP id z8-20020a1709027e8800b001cf31c403a7mr1282304pla.30.1700627789890; Tue, 21 Nov 2023 20:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700627789; cv=none; d=google.com; s=arc-20160816; b=ZqHTYD4XpRu7R2ZYnyWI+5+gf48tCc6LEQ/CTk3t/9W2GmHhGVfNPQuLcmDhSJApim 9fVTOjZdVvB3iQXvWehAltK+Jbyvcq2+2LTAt3KwYn8LrTTS94UvmLjqbLuQgsvNsN3T 8tGfcUy5woasgGuOmMj2yhsqvDs3YnTVmi1mLYwx5NcRrjlGx2K0zxFzhRPurfUDdoDY 3WokCp1EPtubmLOjGvFF1yrPfE+9EYVpUGMfHU0/useT4Iuj8jl+v8FCvtjy69T9RS4K d0bR4jh6oMUW1idSyFokTnDoudDCGddIrOBpx/PU0vNI2DJqYUypULhcT+v9ZhLhSvZl sL6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9VQYkMcaLMIVV28dv2nGc5Put+Zl5GtxaKJ+blbPTLQ=; fh=tlcssy9PJtAVdO1jDCz32atC9ujCOY4NduI43l+y644=; b=UHU/nrb1RZo0BboYUJb0lndYeBh/xD3ADihXODltfy+3QrasI9XoUlp5KmRL2kc48t U0Z4zoh+09raRL2AdlhzOjOdUNUkGMKxQ+MHAzyoiQLKfXnTZy9ubnL8MVMdP1SSWv/L WglgpOeV0UXHedx1B59+a39F1GWkstab9ts1CfziEZUCJV05NTTOMcO8QwYpsSkGu/hx FSxhHHRook+qBPDp3mSewVEHbvoItFZ8xI+q++5tVNJ7Fz2cUor1RPMhlC0shSnH3thX 5ZVutPLL05XO50V9O/Y8w+3fhgDBKs2amf0V8r1ZTnsHKjfxvBPz3Wd/HKZVncI/q6CL 7vzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=g4Yj5GAa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q15-20020a17090311cf00b001cc529610e3si12293143plh.342.2023.11.21.20.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 20:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=g4Yj5GAa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A285F80F6685; Tue, 21 Nov 2023 20:36:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229576AbjKVE2m (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Tue, 21 Nov 2023 23:28:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjKVE2k (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Nov 2023 23:28:40 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD3E810C; Tue, 21 Nov 2023 20:28:36 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AM3cps9004449; Wed, 22 Nov 2023 04:28:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=9VQYkMcaLMIVV28dv2nGc5Put+Zl5GtxaKJ+blbPTLQ=; b=g4Yj5GAairI5jb5qKCszpjROOyvtKWB/BV66+HYZ0eP4hMIXKtbVPWTeeoH6yQoMCT8Q JuxivqCQ3JvAL0nNztqrPUi0+sqyxs8Ebz1vB+17qpp7hd1YLkdDye/gmcHAefddo+h1 6PVIKIJoDZ3YayuCs4UKkXvsLSGU+WdXXpAbQidFJnOCBaSanNe77IXdgdyPiZg+5/up G0d4oj+JiqD/6E8cRbyHXOWKAEzOK2XUmgT9j8J/itRwG8QjF1//UqU2KrQCjDg7q+3y TYltmrVFzs2+9j/NB1HtQ8HXuewDHhgz6YMToRBXU494H8J6pf6+STESHG11fbMUwwi/ KA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uh477gphb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Nov 2023 04:28:32 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AM4SWLU027721 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Nov 2023 04:28:32 GMT Received: from hu-skakitap-hyd.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 21 Nov 2023 20:28:29 -0800 From: Satya Priya Kakitapalli <quic_skakitap@quicinc.com> To: Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> CC: Bjorn Andersson <andersson@kernel.org>, <linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Satya Priya Kakitapalli" <quic_skakitap@quicinc.com> Subject: [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config Date: Wed, 22 Nov 2023 09:58:14 +0530 Message-ID: <20231122042814.4158076-1-quic_skakitap@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: if52tZBAd9uHOj5pC-qg4QhJ8BTTme_S X-Proofpoint-GUID: if52tZBAd9uHOj5pC-qg4QhJ8BTTme_S X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-22_01,2023-11-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 impostorscore=0 malwarescore=0 mlxlogscore=830 clxscore=1015 suspectscore=0 spamscore=0 bulkscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311220031 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 20:36:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783237485651110252 X-GMAIL-MSGID: 1783237485651110252 |
Series |
clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
|
|
Commit Message
Satya Priya Kakitapalli
Nov. 22, 2023, 4:28 a.m. UTC
Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1
as per latest HW recommendation.
Fixes: 0cef71f2ccc8 ("clk: qcom: Add graphics clock controller driver for SM8150")
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
drivers/clk/qcom/gpucc-sm8150.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On 11/22/23 05:28, Satya Priya Kakitapalli wrote: > Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1 > as per latest HW recommendation. IIRC there is SM8150 v2.1 that's there on most devices and v2.2 that was used on the Microsoft Duo (or v2.0 and v2.1 respectively, not sure, don't have any device on hand to read it back), do these settings apply to both? Are they different for mobile vs auto? Konrad
On 11/22/2023 9:32 PM, Konrad Dybcio wrote: > > > On 11/22/23 05:28, Satya Priya Kakitapalli wrote: >> Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1 >> as per latest HW recommendation. > IIRC there is SM8150 v2.1 that's there on most devices and v2.2 > that was used on the Microsoft Duo (or v2.0 and v2.1 respectively, > not sure, don't have any device on hand to read it back), do these > settings apply to both? Are they different for mobile vs auto? > Yes these settings apply to all v2.x devices, also they are same for auto and mobile. > Konrad
On 24.11.2023 12:24, Satya Priya Kakitapalli (Temp) wrote: > > On 11/22/2023 9:32 PM, Konrad Dybcio wrote: >> >> >> On 11/22/23 05:28, Satya Priya Kakitapalli wrote: >>> Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1 >>> as per latest HW recommendation. >> IIRC there is SM8150 v2.1 that's there on most devices and v2.2 >> that was used on the Microsoft Duo (or v2.0 and v2.1 respectively, >> not sure, don't have any device on hand to read it back), do these >> settings apply to both? Are they different for mobile vs auto? >> > > Yes these settings apply to all v2.x devices, also they are same for auto and mobile. Thanks for confirming! Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
On Wed, 22 Nov 2023 09:58:14 +0530, Satya Priya Kakitapalli wrote: > Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1 > as per latest HW recommendation. > > Applied, thanks! [1/1] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config commit: 6ebd9a4f8b8d2b35cf965a04849c4ba763722f13 Best regards,
diff --git a/drivers/clk/qcom/gpucc-sm8150.c b/drivers/clk/qcom/gpucc-sm8150.c index 8422fd047493..c89a5b59ddb7 100644 --- a/drivers/clk/qcom/gpucc-sm8150.c +++ b/drivers/clk/qcom/gpucc-sm8150.c @@ -37,8 +37,8 @@ static struct alpha_pll_config gpu_cc_pll1_config = { .config_ctl_hi_val = 0x00002267, .config_ctl_hi1_val = 0x00000024, .test_ctl_val = 0x00000000, - .test_ctl_hi_val = 0x00000002, - .test_ctl_hi1_val = 0x00000000, + .test_ctl_hi_val = 0x00000000, + .test_ctl_hi1_val = 0x00000020, .user_ctl_val = 0x00000000, .user_ctl_hi_val = 0x00000805, .user_ctl_hi1_val = 0x000000d0,