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: 13202872 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4AF11C76196 for ; Thu, 6 Apr 2023 06:15:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ng7ttPPQl1CELhc/8AgslM3QlgUtuXz0KHST4FJGA/c=; b=Egi0ALacTp7fj9 V/DQoJyZeC+dyKDiw1o5BLouBCLodjXclj7yKjt07Gmxp8o3n6ANRmtBbQKs3uTLiJW3X+gfhVkRg JEiWSepq794Bt6vHsEabTLQqi8JxOYI2cSQ/Zkg2muxhaBvzieXbksjWWR3ZqcR1N6sv4+cuxL2z4 bG1H/MupYN67hn+SZBDR7mtnQtWZRzI7AvPBcxVCiJ52jHAor0dMf+1eeGPuQ1diYBJKGR8phQOM/ WdzLLIJTOlFmjhYQfPce9mJxe2eJ1ma3dSTc+gN8AidT1BJh4XJiz/e0glrkf8RNj2gQ4ABueGY+H zrD5mMPPznreIv80M+cQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkItD-006RR7-1Q; Thu, 06 Apr 2023 06:14:31 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkIt8-006RP6-1v for linux-arm-kernel@lists.infradead.org; Thu, 06 Apr 2023 06:14:30 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230405_231426_671087_4972EFB5 X-CRM114-Status: GOOD ( 14.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>;