Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3878104rdb; Thu, 14 Sep 2023 05:42:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5wFMtXFSLQoMtfPz2nmG+hOyMUmTctshC0XQQIzB0esuIq4U0Eet0LCJXgOQ5sVdPchuQ X-Received: by 2002:a05:6a00:1505:b0:68f:da2a:6370 with SMTP id q5-20020a056a00150500b0068fda2a6370mr6208807pfu.13.1694695334400; Thu, 14 Sep 2023 05:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694695334; cv=none; d=google.com; s=arc-20160816; b=pJlTS7t9C6ir0uIvnu1g3zJxDtikIvVMiX2pnt+6nBLl67W1aQpaTcziDGTC5HswaW bPjsfWNBd/FVMtQjOJIRsZwT6xR2RO9ZCfCbmPfNBatYkNmeHjDnDPkwj0e1hqVLgZQC g9xrJe6HkZhhGEAvDhrMCt9LxJm4XttEeiTkHo+kX2+eEcJMsoUt25pAeA2QfHpBFEtN M/7IWl/CS5SD9UR9yYrx1SHbJLHMQaH3VDWIMxGMV+3IPR/vfN3z6gppDxaiOcjDMnw8 O6sldM6AgAtufuSzwlxHzG5gM8l9+dJW5VF0cFCeS9ugv8BGi7zLzL1os9Wh4LGKDmHe j2Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=DVqZBajrPL02OUxFLIj8QfS8aW+Ubml+pHq/aY/ZHk0=; fh=mjIL62vQiB4A8O5MMPZfdH8yNQTN0AjxF7i8ByKD+tU=; b=EOZIhv+OsnpDLWNJc282KzbdL1VxnuyzBE0JU3YEpvNblySqJL+s+nIzS9Psi16GMg 3P2jqLhrX9NdmrnLCR+ykZnlZHrmnW163rGoQch/YUna4eS2bLLSI3wo06K8z4rT+Slh R8VZXMDOoWEJFGjZh9G2kYazp79BUdjHC9ZA2xBsZyykxCEO1gPiLVW+cYhjOUE/BHdZ MbEywEI7GxIKFb1JyFu7SvSrNlTCwpd3Kor5FBbUE3t6+R/RDTPxiKLHfAXw5R+cjY4y 05Q3O2P+os2p/M3KJ/32Yra4eWxtDsDMbAjq+FIGc1pblnngMykWSwMG5fRQZ2K05EqG iTnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VFhQYyRw; 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 Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id f20-20020a056a0022d400b0068a68d71b68si1546676pfj.216.2023.09.14.05.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 05:42:14 -0700 (PDT) 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=VFhQYyRw; 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 E440E81BE2DE; Thu, 14 Sep 2023 00:01:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235823AbjINHBI (ORCPT + 99 others); Thu, 14 Sep 2023 03:01:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235782AbjINHBE (ORCPT ); Thu, 14 Sep 2023 03:01:04 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0380E69; Thu, 14 Sep 2023 00:00:59 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38E5XDUC008793; Thu, 14 Sep 2023 07:00:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : date : subject : mime-version : content-type : content-transfer-encoding : message-id : references : in-reply-to : to : cc; s=qcppdkim1; bh=DVqZBajrPL02OUxFLIj8QfS8aW+Ubml+pHq/aY/ZHk0=; b=VFhQYyRw0PSLBGcScJ6j0UYLLO6xN/tRhBNlk7V8PI9jFS39ncUWRSNDNM3VlXYgOKeu 4Hirn6qj8k/yFY2jDJkjnsed5iAsFVsIIzfcaRTA5nKMCJmLxzl4yZMX0U8T3MYuqaJi fptoOrdqWSGEyIKqPyjWa0dqZS5qxaAXLSQlCz5/jV0fNcjGRkgmv0Ghk+P7gNbsgAzu RgfObWx8F9tpNMMX2RacFFTFku0aKd28EQzOq6WOeNc9Am+8Tln8szeXKwZvzphPCoIb YKB15vx/udkbuUr6V7DN8PjPSRC2opHkY7dFAXK8j262E4TTp0q1avBaIQDI4Zr2Zghp yw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3v4g85f3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 07:00:55 +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 38E70X4a017222 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 07:00:33 GMT Received: from hu-kathirav-blr.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.36; Thu, 14 Sep 2023 00:00:28 -0700 From: Kathiravan Thirumoorthy Date: Thu, 14 Sep 2023 12:29:53 +0530 Subject: [PATCH v2 03/11] clk: qcom: ipq5018: drop the CLK_SET_RATE_PARENT flag from GPLL clocks MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20230913-gpll_cleanup-v2-3-c8ceb1a37680@quicinc.com> References: <20230913-gpll_cleanup-v2-0-c8ceb1a37680@quicinc.com> In-Reply-To: <20230913-gpll_cleanup-v2-0-c8ceb1a37680@quicinc.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , "Sricharan Ramabadhran" , Gokul Sriram Palanisamy , Varadarajan Narayanan , Anusha Rao , Devi Priya , Jassi Brar , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , "Kathiravan Thirumoorthy" X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694674810; l=1251; i=quic_kathirav@quicinc.com; s=20230906; h=from:subject:message-id; bh=oAtqLps6zVPlsP7aIFNmxeNbbQxHgvUK1BoZIkCFMqM=; b=c+BSyRBRq1wPXhodlCeM4aKLXyYzdf2y1EBCHSsO2jKDq8SDsT8L+D8mv08EQM7rtaXJyqCiw ov0ZGtLHNaXDmGMuyBng8RvocTwRorYvlPNrroD9KDfZnHcVglQGr5/ X-Developer-Key: i=quic_kathirav@quicinc.com; a=ed25519; pk=xWsR7pL6ch+vdZ9MoFGEaP61JUaRf0XaZYWztbQsIiM= 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: t4amiaSimn8DJZ2gTZLRreG8UI9ZCxul X-Proofpoint-GUID: t4amiaSimn8DJZ2gTZLRreG8UI9ZCxul X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-14_04,2023-09-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=762 priorityscore=1501 lowpriorityscore=0 suspectscore=0 adultscore=0 spamscore=0 impostorscore=0 clxscore=1015 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309140062 Precedence: bulk List-ID: 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]); Thu, 14 Sep 2023 00:01:57 -0700 (PDT) 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email GPLL clock rates are fixed and shouldn't be scaled based on the request from dependent clocks. Doing so will result in the unexpected behaviour. So drop the CLK_SET_RATE_PARENT flag from the GPLL clocks. Fixes: e3fdbef1bab8 ("clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018") Signed-off-by: Kathiravan Thirumoorthy ---- Changes in V2: - New patch --- drivers/clk/qcom/gcc-ipq5018.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq5018.c b/drivers/clk/qcom/gcc-ipq5018.c index 19dc2b71cacf..2a3c0659b700 100644 --- a/drivers/clk/qcom/gcc-ipq5018.c +++ b/drivers/clk/qcom/gcc-ipq5018.c @@ -128,7 +128,6 @@ static struct clk_alpha_pll_postdiv gpll0 = { }, .num_parents = 1, .ops = &clk_alpha_pll_postdiv_ro_ops, - .flags = CLK_SET_RATE_PARENT, }, }; @@ -143,7 +142,6 @@ static struct clk_alpha_pll_postdiv gpll2 = { }, .num_parents = 1, .ops = &clk_alpha_pll_postdiv_ro_ops, - .flags = CLK_SET_RATE_PARENT, }, }; @@ -158,7 +156,6 @@ static struct clk_alpha_pll_postdiv gpll4 = { }, .num_parents = 1, .ops = &clk_alpha_pll_postdiv_ro_ops, - .flags = CLK_SET_RATE_PARENT, }, }; -- 2.34.1