From patchwork Tue Jul 11 09:35:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 118385 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp355358vqm; Tue, 11 Jul 2023 02:44:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlEG1/AGQ8aTf35abCsDnkWZ3hnWMdtSV/9+Xtua6ydMc8hfKVpzp+THrQF5UrCWanbbYYM/ X-Received: by 2002:a92:d488:0:b0:346:5249:9ade with SMTP id p8-20020a92d488000000b0034652499ademr6302651ilg.30.1689068641847; Tue, 11 Jul 2023 02:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689068641; cv=none; d=google.com; s=arc-20160816; b=sfi+tHLDL78g4Elo52G8mRS5b7/VKvGyrIqqSG9LhrfyPiEBrCc/LssVWZT94kwGaz 1hHIYDky9IMDE8kmZZt+WijirjDdvxHPa2LIFRgF9q4284dQXlM2m/hioshR0EaaeG2H XaxlFOnB+4wsR/3bl+bhxo5UHh7KqC19BMqPsVH2V7g0j6+pGhjNbClTJC53AUt6UnKx HrKQtYCsG94ZgO0UASaFLkiZPYufz9EWfHpTuCWng2xTDzvcBWtlv4vpLpr6l88GPwBx sz2MG8ezJiekdiMjMkEk78ayOPm9dBeCqbYUd6mZmei7cSOSpXSYu3LkClq0xZLxiD0p 8j3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wsfzRGIvllbrS3o5hLKv94JhyJHDL8oIKIMu5HWr49M=; fh=EzbXZXxtvyI//EcET2BC5QoPkF7Xo+5nFoB5esxlfPk=; b=WgZ4xgK9/gYyll6iUA+/OlEyiRuBYUkuwTNrF6Fi847+/X1jJWN/d4q8xAPdfNn6/I lNOBvvzO+yaoHeQk/s0wChikksBrOx3G8iUb+QcUtdGOD1EOKQRp4/fL8/0+jgqGalFN eC33104jdzILj1f3dNPvfmvCSlSSidpyhThAMnrocJCJOIWgYtSa474qT8bVibHVAQUM 9bVT4RZgE83kJ9cAFLD1FkE8YIiZNYXwva2myIyOiDjzDmya7P+vLxhTDaqdcytVBPSY +nYKw3V/yGabCDOeflQ3vTcfRB1nVKoABdUEtGkcy/OOZxJvYi5adD+Cc8CO6YDmupZL WQTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jRtO691S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a17090a4c8300b00262e0b546b2si8454837pjh.37.2023.07.11.02.43.49; Tue, 11 Jul 2023 02:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jRtO691S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231319AbjGKJgo (ORCPT + 99 others); Tue, 11 Jul 2023 05:36:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231154AbjGKJgb (ORCPT ); Tue, 11 Jul 2023 05:36:31 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8EFA188; Tue, 11 Jul 2023 02:36:30 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36B9Gxjo012837; Tue, 11 Jul 2023 09:36:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=wsfzRGIvllbrS3o5hLKv94JhyJHDL8oIKIMu5HWr49M=; b=jRtO691SWErPcW70MYA4o/dv4oqQJpA0k6O/Owg3ZfVJhTtOp06TyKNoaP68jIo8+Wdj HdxZxLt4Sd8+eocNeZlV84N6KiNB36NFSHIToPyVIYnMo5cNksWK/AYNna+EJLV+ktnS WP+BvVF0T6P8Cefd996pGZZ6OxIX9Ot0tHUxpCvSe+xUvt8knPbZ2gCYu3pXq7MLIrMj BbUpKkH9GgW4Uv0TXnF/wG2fCa48AWo/KBUHTWRDq7AMccXZQ/U7qnlewy+GYKfFb+uq gXSCRR5wVJuaBgtOp3vZgryxWMbYeSKGeRXlWXLVAQjZCl2PFj6Dt/s2RrKIWaz26bQt 3A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rs279ra9g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jul 2023 09:36:04 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36B9a3jw018190 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jul 2023 09:36:03 GMT Received: from devipriy-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Tue, 11 Jul 2023 02:35:56 -0700 From: Devi Priya To: , , , , , , , , , , , , , , , , , , , , , , CC: Subject: [PATCH 2/6] clk: qcom: gcc-ipq9574: Mark nssnoc clocks as critical Date: Tue, 11 Jul 2023 15:05:25 +0530 Message-ID: <20230711093529.18355-3-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230711093529.18355-1-quic_devipriy@quicinc.com> References: <20230711093529.18355-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: YUWulA3_J1bGLN2g6PfmK13BcPf3P75n X-Proofpoint-GUID: YUWulA3_J1bGLN2g6PfmK13BcPf3P75n X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-11_04,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 bulkscore=0 priorityscore=1501 adultscore=0 clxscore=1015 mlxlogscore=794 malwarescore=0 phishscore=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307110085 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771116840648260075 X-GMAIL-MSGID: 1771116840648260075 Mark nssnoc clocks as critical as they are to be turned on to access nss port tx/rx clocks. Signed-off-by: Devi Priya --- drivers/clk/qcom/gcc-ipq9574.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq9574.c b/drivers/clk/qcom/gcc-ipq9574.c index 6914f962c893..b68addc6f687 100644 --- a/drivers/clk/qcom/gcc-ipq9574.c +++ b/drivers/clk/qcom/gcc-ipq9574.c @@ -2166,7 +2166,7 @@ static struct clk_branch gcc_nssnoc_nsscc_clk = { &pcnoc_bfdcd_clk_src.clkr.hw }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL, .ops = &clk_branch2_ops, }, }, @@ -2565,7 +2565,7 @@ static struct clk_branch gcc_nssnoc_snoc_clk = { &system_noc_bfdcd_clk_src.clkr.hw }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL, .ops = &clk_branch2_ops, }, }, @@ -2582,7 +2582,7 @@ static struct clk_branch gcc_nssnoc_snoc_1_clk = { &system_noc_bfdcd_clk_src.clkr.hw }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL, .ops = &clk_branch2_ops, }, },