Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3796967rdb; Thu, 14 Sep 2023 03:01:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQdyaG+tYq4tZHHUY8umPJki/+gKtDiG/WN2NZ1c8iYFgoIcy+rVxy8sXihJ4cd3ll5GJ0 X-Received: by 2002:a17:902:f693:b0:1c3:83e2:d0c6 with SMTP id l19-20020a170902f69300b001c383e2d0c6mr6515454plg.52.1694685680323; Thu, 14 Sep 2023 03:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694685680; cv=none; d=google.com; s=arc-20160816; b=kl5KE5hustH5rJUP0lqm7w+Li0fF5KZD/KL2A+8oBXkKMdwbK0LavNsfKqQ2tXL2E4 goP7DWUl24J9VJontsBcz7+fu2HrFezx7mtaA4BqiGgpISJw9p6ZZg1epzR/dz6LhQm7 8teZgoaS1C59lu5j6jUJe1ZBa+tSC5M04F3QbrsRomFd7sueku6PYqYV2DA7sRD4dChe fbhAnhKbHzaoBXsZfFsYTpzQCOpSfCmh9lJ9khrYQke/GdCFbwnz65Od4mvjTAtvvh1+ 00bLCl1THqpGDtxUkzOuin13bNQchn366S0nlKr30XNDO9T4CXe5IghGFslTLfhVBeKQ Qr3w== 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=cIekoNZEBqcV+2+/WUQX5RoEjtkal88v8Lj7vPwgbFk=; fh=mjIL62vQiB4A8O5MMPZfdH8yNQTN0AjxF7i8ByKD+tU=; b=CKC5PhfFtsdwAp5wlLfkDpoxCt0+KpE5ruHBtcmWIMHc12X2ggbooL+X9rf+TYEpC+ AI3hDMp4tGpEeoZ9AeP28ftEEPGd1JlRd60lDKK/VphAuPrENCtjd+d5yHbcw1iY3UDC goZZFDD8azPd+EuNXwmjtZAmzSPC2cvWseA25M3AYJqQn7Mkc6wkXiclstVhjMCqmkZw 7yxNzJJJD3r7IdRjy0D8p/zuAXhXVC0GhadqTgzA4dwCqAq1u4Y1DcM+P/YVzI/o1uhM fQ2mxPfCGK5sfjkhU5+vaA0w5GvNtX9/DaUaOu2J7BA5/3jshiEW8u23sexwuwzjEtvP UZsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HpYXDqBw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id la11-20020a170902fa0b00b001c3bf27a480si1272197plb.155.2023.09.14.03.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:01:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HpYXDqBw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 232DD8271409; Thu, 14 Sep 2023 00:01:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234966AbjINHBZ (ORCPT + 99 others); Thu, 14 Sep 2023 03:01:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235990AbjINHBT (ORCPT ); Thu, 14 Sep 2023 03:01:19 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 643CCCE5; Thu, 14 Sep 2023 00:01:14 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38E6kYP1028472; Thu, 14 Sep 2023 07:01:09 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=cIekoNZEBqcV+2+/WUQX5RoEjtkal88v8Lj7vPwgbFk=; b=HpYXDqBwCUkPKnEXEqopSiQccWAPcLC2UWjri0E0b7GvXF8i/YA29mYhMEfxshyIEifs nsl0JbIhHBZNQ17XleZ6u+iSDbktLlbwcUncoz6tKbxwp4l1ZGLCAQSwsU8NrLjq0uI8 clyZT47xY/s2iciqZ9uxrbYCkW81daDM3yEtssmtiv8jN/ccqjrXbCuOV7IoMGqDiapE AGxZuRWX4I+DGJJnLzuTs16bpwf5dYVlmVNtg9FsN4dM9kfBiqBbnLQWwsEsgb/snKZD 0SB/VIhOnp4/6gV1EGdNOZ1dP/DCX6PWA2jiuh77ivTGRAIFPyHCy6tf2MatOUny0fCQ Dw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3re30kmw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 07:01:09 +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 38E718UZ017943 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 07:01:08 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:01:03 -0700 From: Kathiravan Thirumoorthy Date: Thu, 14 Sep 2023 12:29:59 +0530 Subject: [PATCH v2 09/11] arm64: dts: qcom: ipq6018: include the GPLL0 as clock provider for mailbox MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20230913-gpll_cleanup-v2-9-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=1226; i=quic_kathirav@quicinc.com; s=20230906; h=from:subject:message-id; bh=0V7ycfieCR7gyMd8CbT+YHreQwaCQ4y1HnsMb/C1JmE=; b=F+6GRbFKbSfTRkzD2VAF21Y90M9zygGTvB1ZSbRelL94mZYJc6kHmMZ+d7N8+Q8dpwoODc3al vcEz3YbAgexCkjRm43ATwFQ5gVUSSwLOsHokpcEV3s1lgC+DdcL5B2Z 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-GUID: ixyj2jpdkEpsGemlz3W6YzrpR5cAORsn X-Proofpoint-ORIG-GUID: ixyj2jpdkEpsGemlz3W6YzrpR5cAORsn 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_03,2023-09-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 mlxlogscore=845 lowpriorityscore=0 spamscore=0 clxscore=1015 suspectscore=0 impostorscore=0 adultscore=2 phishscore=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 (howler.vger.email [0.0.0.0]); Thu, 14 Sep 2023 00:01:36 -0700 (PDT) While the kernel is booting up, APSS PLL will be running at 800MHz with GPLL0 as source. Once the cpufreq driver is available, APSS PLL will be configured to the rate based on the opp table and the source also will be changed to APSS_PLL_EARLY. So allow the mailbox to consume the GPLL0, with this inclusion, CPU Freq correctly reports that CPU is running at 800MHz rather than 24MHz. Signed-off-by: Kathiravan Thirumoorthy --- Changes in V2: - Splitted the change into target specific file --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 47b8b1d6730a..a30a5b893762 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -619,8 +619,8 @@ apcs_glb: mailbox@b111000 { compatible = "qcom,ipq6018-apcs-apps-global"; reg = <0x0 0x0b111000 0x0 0x1000>; #clock-cells = <1>; - clocks = <&a53pll>, <&xo>; - clock-names = "pll", "xo"; + clocks = <&a53pll>, <&xo>, <&gcc GPLL0>; + clock-names = "pll", "xo", "gpll0"; #mbox-cells = <1>; }; -- 2.34.1