From patchwork Thu Sep 14 06:59:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 139430 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp187189vqi; Thu, 14 Sep 2023 01:07:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZvLmTAJI/JXGwA2pUPkVwD1jckUqcZqL3US3rhwuUac/xsFAJ9eBmATAx6xsaJEY7U51M X-Received: by 2002:a05:6a00:190e:b0:68a:59c6:c0a6 with SMTP id y14-20020a056a00190e00b0068a59c6c0a6mr5098978pfi.24.1694678848869; Thu, 14 Sep 2023 01:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694678848; cv=none; d=google.com; s=arc-20160816; b=UuGxGe4RbIBkDbLxzezSim6Mtt/MgXNW3aASUPHnmhkcEvs9GMw29szarLS7Djmo/I 900eCuLcF/uHA5NOLsHCuphZaPw9xWshhFx1SnYivO7D4IXtebE4LUWfygAWeuu4I0YX bllf7ffVsVmRV0St02fIDdGTvS9ttJ1rHmyTjktaa/zv9Lv63bKOn3SvRutfkJbmhlNF H1GbgM+59AfT83F3HNXkBC0AhvLruwRQL65xZ5P5ZNpvTcVgSbnTg/px7f0HAfUQ7DkB rQPBdb+XE2ydLSh1nt3vRewUAkRoWEV4uX5hG3o9PgeTyYkpIsFH4Ebpb58k2ZXikuFh YzCA== 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=cNKqYCCiiQn5fciCOzCqzsk9+o2CUNOXSiSNkFULqq4=; fh=mjIL62vQiB4A8O5MMPZfdH8yNQTN0AjxF7i8ByKD+tU=; b=fx87i+IiUfvmlklIZIgIlKp1KZZo0sPfeA1gWF72aRAWaxW0djbMV4Hi68OMOGe2l8 WDUos9nJn7GIkORyDwiz10xbKU7UBGdRqDpgHr4ENaL6Mbyaz05MtGV1YD7KWNg3GByZ xuNM6w837JLRp64/M0PPq6EWCroXwAurrzxnsGGWvviPvaO3G0ur4NDdDdFj0yXOxmpp IVsRfr3RdSDfAhgMfsVrwBcwdm46xKNmk8GiBbK5yHYrhr2joHgM+outI/UY+biHWFUO c/JfY3SrOtESIavUUEHs7qh+cO1K/LzFhuuhuxhRWehTXNZ8Z33GWy+qQ0PJyUEF+9ui H9Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="f/+KpLZa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id fp7-20020a056a00608700b0069023e4bcb4si1082272pfb.114.2023.09.14.01.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:07:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="f/+KpLZa"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 6EEA582F916A; Thu, 14 Sep 2023 00:01:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235866AbjINHBN (ORCPT + 35 others); Thu, 14 Sep 2023 03:01:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235337AbjINHBC (ORCPT ); Thu, 14 Sep 2023 03:01:02 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CD25BD; Thu, 14 Sep 2023 00:00:58 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38E3ftLZ030421; Thu, 14 Sep 2023 07:00:45 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=cNKqYCCiiQn5fciCOzCqzsk9+o2CUNOXSiSNkFULqq4=; b=f/+KpLZaTtYr2e2t5vPyAiGiTtEucu1ab6tsD988dEJsPwPlJNlm9LqNztmSaWCntx2H LmgXPNxAeJo5YJPDhv4sSeY0UCcF4rTOaMK0xMn6SYVwk5lVMHjbp7y6iyZaKOTgz9UP EMMwVdyc54eKVFDtmJLAAW8voZgHRAmBUTWfgmQdHpUjVoQ5LmRJidOeNd2rxdNVPh9Y ZZbZjgwiAOCJfQdh0mu+qf0tWF9R+W9kqZYept88YAFfhp2CXiaWLvEXD3XRr+onvYLY UBRsjl50BAW8g7iRqK0dRMcv5pzpYZ9rDQBqU9eUVictXOhjIqTZRt8pCewSOa1MvZHZ 0w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3h0dhjwh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 07:00:45 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38E70iW8024942 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 07:00:44 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:39 -0700 From: Kathiravan Thirumoorthy Date: Thu, 14 Sep 2023 12:29:55 +0530 Subject: [PATCH v2 05/11] clk: qcom: ipq5332: drop the CLK_SET_RATE_PARENT flag from GPLL clocks MIME-Version: 1.0 Message-ID: <20230913-gpll_cleanup-v2-5-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=1111; i=quic_kathirav@quicinc.com; s=20230906; h=from:subject:message-id; bh=ZMuO/OGGG4BmaoyshH9tomZ8rVR0tovrtTjERGXp4Oc=; b=nLmXPGasNUe2LREpBVzbrrYzzmZd4vDESOo0aO9F9bDs88EarSBugwhbgC9RrPJGQER701/0J hRf1R2xBaNMA/PSbgt6yTCP0ugPQCXceU2Dlc3zFEA/Y77HAdU8xrlv 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: MgIx0NoCfztZjp6x9IaL0W_LXxsum0iF X-Proofpoint-GUID: MgIx0NoCfztZjp6x9IaL0W_LXxsum0iF 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 adultscore=0 mlxscore=0 suspectscore=0 mlxlogscore=813 phishscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 malwarescore=0 bulkscore=0 impostorscore=0 clxscore=1015 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 (morse.vger.email [0.0.0.0]); Thu, 14 Sep 2023 00:01:30 -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 morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776999568690934628 X-GMAIL-MSGID: 1776999568690934628 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: 3d89d52970fd ("clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC") Signed-off-by: Kathiravan Thirumoorthy Reviewed-by: Konrad Dybcio --- Changes in V2: - No change --- drivers/clk/qcom/gcc-ipq5332.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq5332.c b/drivers/clk/qcom/gcc-ipq5332.c index b02026f8549b..6c74a117ef0b 100644 --- a/drivers/clk/qcom/gcc-ipq5332.c +++ b/drivers/clk/qcom/gcc-ipq5332.c @@ -114,7 +114,6 @@ static struct clk_alpha_pll_postdiv gpll2 = { &gpll2_main.clkr.hw }, .num_parents = 1, .ops = &clk_alpha_pll_postdiv_ro_ops, - .flags = CLK_SET_RATE_PARENT, }, }; @@ -154,7 +153,6 @@ static struct clk_alpha_pll_postdiv gpll4 = { &gpll4_main.clkr.hw }, .num_parents = 1, .ops = &clk_alpha_pll_postdiv_ro_ops, - .flags = CLK_SET_RATE_PARENT, }, };