Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2619973rdb; Fri, 22 Sep 2023 04:13:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEf5RMnaaV02MuX/7eTlBBBx3jGCtrDNvAGdpYapRH2lyAadinGI/78IJ/Eqeed9cTkyxhH X-Received: by 2002:a05:6e02:b26:b0:350:f51b:c333 with SMTP id e6-20020a056e020b2600b00350f51bc333mr10786447ilu.2.1695381219900; Fri, 22 Sep 2023 04:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695381219; cv=none; d=google.com; s=arc-20160816; b=Z7XqvDH5QMytJDBHRVhkoRTpou0gyFNWqigKCxuOCWQPZPxKJKxTi135rYDsMBXblk XjJTdNft6x+Wbgmo+wMOiiYQU1rV1F3PUGNKQWoNsCSUHRZOaX7QqW02e3BBvJ0FaxWo FL6QwY7sV9bwqMl96nK8A2C2dvbvdTIDjo6GIQaURXRV8E0Lz1dIWHsiz6PF9XemsMky /miNESYd2SsZ4d5X3WjMH2M5hLTlsCCBkBs6OYEMSjiYX65uZrXGaU2PkafVk9u9fN6+ FEJdWyy4JxcnZm8i3PGHRoLxnkQbRWQMS3+H1XzpZ9YF7p59+c5LhW3uz2mvxZWJpWPP f/qw== 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=A94tWuodPcI9oNrKkKtAQGNKu2sI4M6PkvsyQjDksY8=; fh=Jyqr85fg3DmJl7SXeerHcrKDOF3cLvB/krrPsqUUY/c=; b=jieQAhoDL6yOl1z0zBN92iG5Lm8eH2XlKy6sX9jNSAXwNwh5KUjMGY9DW/kiHl2G90 wCzPMJuLgwnVE5NNMrO5nEnsr0huSPZOuP9e6jzJU/4PJkvK5rfpbmpeMJ+jolxHuoV5 SJfnsWEEfr2Cry5BhGLJNrqJuafQSAGSiMagOKvSgd3rbFXNpVszP0K9e3TUKjnjdEGp amDASdABKREZSJFzktLmwylnQSRNZOpsK28dXlqgg39FZ6HoQXyz3cck8eKDs6UORAXy kU5AmrMCcOLlF4KCvoqJ1fMqk4k2FtzKMftz3Nr3PuDLvBngEHIot6IIJ1abRKRJWnwc pmnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="IZieK/0Y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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. [23.128.96.34]) by mx.google.com with ESMTPS id e4-20020a635444000000b005774c90073asi3449750pgm.320.2023.09.22.04.13.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 04:13:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="IZieK/0Y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 08863857E56D; Fri, 22 Sep 2023 01:12:54 -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 S232661AbjIVIMq (ORCPT + 99 others); Fri, 22 Sep 2023 04:12:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232174AbjIVIMD (ORCPT ); Fri, 22 Sep 2023 04:12:03 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B68B19AB; Fri, 22 Sep 2023 01:11:54 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38M7ohiW024023; Fri, 22 Sep 2023 08:11:31 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=A94tWuodPcI9oNrKkKtAQGNKu2sI4M6PkvsyQjDksY8=; b=IZieK/0Ylne2goWEJ5XiYruMYVvFsRF99oO8PR5B5mBSl8MqYVRYtSh/s1eZJopRZrlJ PIRssqRoxKyXYWygR24wPsDWTXPlyGqSWEX8As58LaLovNZl0Tc92zaubQyZoaSlNeoI qB4pp5ycNubvUrodytAfqVgDUpVYQotJ8DarjLT5vPoyfPtg1ofyF2M5YBfIcUctQuMU yycPAse7B28LHboMy8XObLPMSBh2YATlunGVhOAGcygJWXTlPsaQRlMVJ7RG1zj3iKlQ cxhHQ3clsv2NWLAnBXmtuZqizHCwaUadoc58G8rGaNqda5NmnRf2kystmcWp1tBceQA5 hw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8uf2h813-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 08:11:31 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38M8BTbm001098 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 08:11:29 GMT Received: from tengfan2-gv.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; Fri, 22 Sep 2023 01:11:15 -0700 From: Tengfei Fan To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , Tengfei Fan , Ajit Pandey Subject: [PATCH v4 3/6] arm64: dts: qcom: sm4450: Add RPMH and Global clock Date: Fri, 22 Sep 2023 16:10:23 +0800 Message-ID: <20230922081026.2799-4-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230922081026.2799-1-quic_tengfan@quicinc.com> References: <20230922081026.2799-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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: mugaZi4g_wlqpqWAWNjBOIrgV6dbM1Qe X-Proofpoint-ORIG-GUID: mugaZi4g_wlqpqWAWNjBOIrgV6dbM1Qe X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_06,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 malwarescore=0 adultscore=0 mlxlogscore=853 mlxscore=0 impostorscore=0 clxscore=1015 suspectscore=0 phishscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309220067 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, URIBL_BLOCKED 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 22 Sep 2023 01:12:54 -0700 (PDT) Add device node for RPMH and Global clock controller on Qualcomm SM4450 platform. Signed-off-by: Ajit Pandey Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/sm4450.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi index 5e09880f4218..5a8a54b0f6c1 100644 --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi @@ -3,6 +3,8 @@ * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. */ +#include +#include #include #include #include @@ -348,6 +350,20 @@ dma-ranges = <0 0 0 0 0x10 0>; compatible = "simple-bus"; + gcc: clock-controller@100000 { + compatible = "qcom,sm4450-gcc"; + reg = <0x0 0x00100000 0x0 0x1f4200>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&sleep_clk>, + <0>, + <0>, + <0>, + <0>; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x40000>; @@ -452,6 +468,13 @@ apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter"; }; + + rpmhcc: clock-controller { + compatible = "qcom,sm4450-rpmh-clk"; + #clock-cells = <1>; + clocks = <&xo_board>; + clock-names = "xo"; + }; }; }; -- 2.17.1