From patchwork Fri Feb 17 13:41:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 58571 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp892660wrn; Fri, 17 Feb 2023 05:45:39 -0800 (PST) X-Google-Smtp-Source: AK7set8iKUy2LFaDqVQvObUNbTTYNmssJows1csMBuUFa9iOf2kiib+dHgIhqsHS3XrrnT4t8yNH X-Received: by 2002:a17:906:8042:b0:8b1:788f:2198 with SMTP id x2-20020a170906804200b008b1788f2198mr3930376ejw.19.1676641539113; Fri, 17 Feb 2023 05:45:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676641539; cv=none; d=google.com; s=arc-20160816; b=Ffhk7jFTuQPPP0CZmijO7+E3Ogj4YVCAz7vKmfhbBTUz8FAOmJWQFnBL3tZ+zeVKpy KRCzAkujirV7D8JQObPqZZnwMFaMpBPIy9GihLxvvgl89EEcs/gAedw354HPVf/t8VVl tjNRFvOC/2thYRtEzQxYmfQJsgFgN/OJw6YtSoLOgKAuPg1KbG6Z51Z5ofTK+JL9CyM2 r5NRR4Big99NytKfwx/g22of1knTznZRv7+XjmiX2zCQs96w+4zdcXZ7XE9Kq3Ndi+KC u7nkPJBuNScuiRA63bJS5Yj5G5XRs692noFJfDoOiyfEB20atxgIHrfwf4ra4509uk4T ZdDA== 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=3GV9c988KNmafVXkQ6VtQvOb09UyQXkHpLlr8irXf4c=; b=gp5bnoGQLbm7Pfdp2dwBmY67zKiXJL3j+Wsx9+kqWnlS9R6Bwg0GKR4DW5SYH1B7hL TeVlbuEzZE6ttaWUU8hHb2O4kddZwWF12Ydpe98dTyrjtRnovc/WHPT7wn8rDNvCNHAH opPE8ot6dHs33q5xcMAjmnLRHx7kn2CvhAtHLZb/WAOJgTBbyAs29ZvVK+rpodUokxxe +yNRta5kwIGNtIzjmcdgB5widlvdyRAL7seXExF8EroSd4BclVSIQtyEhV4+3EV+mHGW oLCxJMHZGWSdwAnitonvclD5IdZGCvRKieHW+F3Wnrp70lW+ddV3Bx2Y7PChwwtkmQKH s+WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PaB9GFkW; 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 vl11-20020a17090730cb00b008b17b558d68si2774363ejb.229.2023.02.17.05.45.16; Fri, 17 Feb 2023 05:45:39 -0800 (PST) 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=PaB9GFkW; 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 S229848AbjBQNmx (ORCPT + 99 others); Fri, 17 Feb 2023 08:42:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229642AbjBQNmu (ORCPT ); Fri, 17 Feb 2023 08:42:50 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 190296B314; Fri, 17 Feb 2023 05:42:31 -0800 (PST) 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 31HD4037023195; Fri, 17 Feb 2023 13:42:05 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=3GV9c988KNmafVXkQ6VtQvOb09UyQXkHpLlr8irXf4c=; b=PaB9GFkWvfW7JBVEEAu7+V4BUEtzDWpFt2vbBE8he5hT2YQGPXgz4soxqgo3Xstl5im9 CcIH3sgO5CqcCW+rqwYSDg9+jup5QTLTYwVUslyhSBL/1t2tStLO64qN4eq+XOvReCm+ VAUSDcCU2sekyWfQGqbGweXUvJEOY9k4NQoRAk4kLT75wz3Ol7xsKFepc86tV9kW9Jlu ezs2tKdTggeB/1iaHJif298U1+VUlLkCv9ADcoWyvNQX62c5NYoOa2R9fbsPSxSJSO6+ 0KV5mZVlfMqp+PX76BjslFdjzSVs1gf0cvk9U60PVGQOMVv4mslXGbGLLRMtOPknVJsk tg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nsxe7suj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Feb 2023 13:42:05 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31HDg4xR012434 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Feb 2023 13:42:04 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.41; Fri, 17 Feb 2023 05:41:56 -0800 From: Devi Priya To: , , , , , , , , , , , , , , , , , , , , CC: , , , , , Subject: [PATCH V2 4/5] arm64: dts: qcom: ipq9574: Add support for APSS clock controller Date: Fri, 17 Feb 2023 19:11:06 +0530 Message-ID: <20230217134107.13946-5-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230217134107.13946-1-quic_devipriy@quicinc.com> References: <20230217134107.13946-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-GUID: QfWYR3H5aIeRe4AOUxCOj8JaYzMqmVzr X-Proofpoint-ORIG-GUID: QfWYR3H5aIeRe4AOUxCOj8JaYzMqmVzr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-17_08,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 phishscore=0 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 impostorscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170123 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758086078976788819?= X-GMAIL-MSGID: =?utf-8?q?1758086078976788819?= Add the APCS & A73 PLL nodes to support CPU frequency scaling Co-developed-by: Praveenkumar I Signed-off-by: Praveenkumar I Signed-off-by: Devi Priya --- Changes in V2: - No changes 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 70d920400265..d20f3c7383f5 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -405,6 +405,24 @@ }; }; + 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>;