From patchwork Thu Apr 6 06:13:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 80056 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp808352vqo; Wed, 5 Apr 2023 23:17:31 -0700 (PDT) X-Google-Smtp-Source: AKy350bEebBPbcm8CmdWb8ENND3K1qeuGY29DUARxWtxlC1cDLXusFIXax5rjg1nroaplEBl044B X-Received: by 2002:a17:906:846f:b0:932:748b:196e with SMTP id hx15-20020a170906846f00b00932748b196emr6226455ejc.45.1680761851045; Wed, 05 Apr 2023 23:17:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680761851; cv=none; d=google.com; s=arc-20160816; b=rk8mNouq47utVa4g6o0KihHoTGMDr0sWwPQmEe3lS3fvv9VaMH9SiFMtY/vkczCawc ojudUpS6kXyTaf0OVMlfeTGIoi8P2s0J/dvU7rPHCeDArkmhe4jdNbIQ1EFEiYluLRp8 PPdZJdOdDuwMbTzcevQ7nOP4nfsY1tx/BRShRbE6UdQhhvM/o8nagfEeo4eG+6Zdm+ZP gLaCG0z/sdSASELlyqp6dnKYlKs+1tYVEQAr42K7uXT/0Y7E3XYQ/r+OoSKVgnp1ILlV 91xcSSWls1akwzb2HJTeqXEFas7eB9EDn7yGP2zyFJ+iLDCSE8rXGHBv2y/D8ccJpBx9 r2Uw== 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=SMGGMQsGfAM1J08a7as535Yu+zk26rbV9EElLwKY1lU=; b=1BEEAnzMpcSj95MV2crfsQCmLH5BUueSZXaUdP1JvzyOVPfsG0V2G3davQ8Ov7pdmp S1rVtPlx9JHWXjdH6rLVyp8zwzLbN+CG+do54TGEgOxq1GHxqpmEXirdTJkaZQLTnoui RS8yHLwNmd34CUKcxAimYc1Us+sujfJ4N0v0r+Cdg/6+mTv78rPZ1wwGcGk226kSZYEP TDEG6aqscEKC2Q6h2RRHVihiaGFF8YB4aunkMinYnG3mbknhCuKlyukqSLX0yNuf/i7z 56dwUJDRONE0ift86qiUx0KcaVMHv7VzCNFvA1elECBm3LuwSkMO39UXf5reK1koWUIh 5zQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="j6/yKD4u"; 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 u20-20020a1709067d1400b008e41fc88f2bsi379977ejo.981.2023.04.05.23.17.02; Wed, 05 Apr 2023 23:17:31 -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="j6/yKD4u"; 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 S235107AbjDFGO5 (ORCPT + 99 others); Thu, 6 Apr 2023 02:14:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235147AbjDFGOk (ORCPT ); Thu, 6 Apr 2023 02:14:40 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3DE78A4D; Wed, 5 Apr 2023 23:14:37 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3366DaN8014290; Thu, 6 Apr 2023 06:14:13 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=SMGGMQsGfAM1J08a7as535Yu+zk26rbV9EElLwKY1lU=; b=j6/yKD4uizyQcSVPmQVAfr+C7xH82Qq+MykBdXrRZ4OHNNCqgSARNXiJwp/wJZGTdEkZ S4AIqAWORJGBBLrYLEpsh+1ZhBDlYupZvFCaaWqm2+zB5Mt19LNDgQP3GtHORta3eO1j gjKY1MUV1+tW4I6G1wQXEtaSkCnxTvr7pmUFrtNyXfLtrWWxwTDrddareMDKjKCBRUPU vRg9ejw3ZDmv1XKP7tCMv+12pZpRB5luUM5rWZ5TseakYkGocvx57p+LdkHp74vHwzrt UDln2f01eXH1OWwDp85bKtKbfDlwG/m4lE/J24Yw+zWiR5qpdQ9PHOSwq0bPCVWSYi93 Ug== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3psr26029m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Apr 2023 06:14:13 +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 3366ECPI019302 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 6 Apr 2023 06:14:12 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.986.42; Wed, 5 Apr 2023 23:14:04 -0700 From: Devi Priya To: , , , , , , , , , , , , , , , , , , , , CC: , , , , , Subject: [PATCH V3 4/5] arm64: dts: qcom: ipq9574: Add support for APSS clock controller Date: Thu, 6 Apr 2023 11:43:13 +0530 Message-ID: <20230406061314.10916-5-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230406061314.10916-1-quic_devipriy@quicinc.com> References: <20230406061314.10916-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: voyiCmBaSKyTMdJdsHci2moMYqEP-VJz X-Proofpoint-ORIG-GUID: voyiCmBaSKyTMdJdsHci2moMYqEP-VJz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-06_02,2023-04-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 bulkscore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304060054 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762406538832893942?= X-GMAIL-MSGID: =?utf-8?q?1762406538832893942?= Add the APCS & A73 PLL nodes to support CPU frequency scaling. Signed-off-by: Devi Priya Reviewed-by: Konrad Dybcio --- Changes in V3: - No change arch/arm64/boot/dts/qcom/ipq9574.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 068c3950dcec..7c820463a79d 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -525,6 +525,24 @@ timeout-sec = <30>; }; + apcs_glb: mailbox@b111000 { + compatible = "qcom,ipq9574-apcs-apps-global", + "qcom,ipq6018-apcs-apps-global"; + reg = <0x0b111000 0x1000>; + #clock-cells = <1>; + clocks = <&a73pll>, <&xo_board_clk>; + clock-names = "pll", "xo"; + #mbox-cells = <1>; + }; + + a73pll: clock@b116000 { + compatible = "qcom,ipq9574-a73pll"; + reg = <0x0b116000 0x40>; + #clock-cells = <0>; + clocks = <&xo_board_clk>; + clock-names = "xo"; + }; + timer@b120000 { compatible = "arm,armv7-timer-mem"; reg = <0x0b120000 0x1000>;