Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1277683rdb; Wed, 20 Sep 2023 05:04:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFiQllWh+K9baK3vTSiqBW2udAXXNJEih4naxA4ibga3K3o5VFk4jDrhJN0FsnpneqtBN1k X-Received: by 2002:a5d:939a:0:b0:795:1bbc:1fca with SMTP id c26-20020a5d939a000000b007951bbc1fcamr2587918iol.7.1695211443250; Wed, 20 Sep 2023 05:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695211443; cv=none; d=google.com; s=arc-20160816; b=c7F3B0Aa1IVisgGyEd91lJJ9AwSD2g3rt0og+JiNGtfSTFOPGczOoBAKwJL0QJkmdu uKfTqZAHCYFsY0/miXwCjaInHCMjBMRpKLDYzgGd1JfV2wPYFdtN0Bbf8q0gHmgahDvH ClQd9gq/klXx8CVcnm+prRIi7TWz5MrmHiitTFbIITkdTbms4avwAdCOYIzDkbD9uoyC vDQfQT2eT+3pKywqq1RBMvE0OBh4Qz1ik2WrNLFYriWw59FS/4R+5SfaqlEcEWEwA1kP bW8vhEM4NNmqYVRkyieARO0lW6knOEaRCRvgnbvOf/+Ly2A2PsYVvsorzHZSYEcGGRfm FPKQ== 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=h/hn9VFfAvW0E9faiyvTq1jKzHjBvhwda0xZaUDtVHQ=; fh=bPBcLOt2EiqSzk8m6QUN4JLGFzTXQSbfySDXQEOfa9E=; b=NaLC+yPkqzgEW8abeaCcqNKG85cLUT0T76/xMmUWR3hEkkbMr0oIGT4wLu/beBAQy5 6HFQrgT86EG+OgOeftewURtxmpDYODmEf9eA0Z4JDk76+l0WMLg44WtwvodlGCKfU8Qb SewOcdlc3H/EMiSXLZ/HxcJRRpwMiTp/MjiErYMDIe1jD9wZp8K9/xL0dMt34ibLrz7w B7pNdynHbSg58YMG5++OiR8BulapnqngWnHrVCVFQPtT/3LlfWTcdzdhPfSLUPvrhfkW G5H/uxjzskpPjnPzBO91LKI1vmgKjafuvEMvfQLbN6q3JllVVMjBlkuePdCexN+AizMH wxWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VKbgxXsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id g13-20020a65594d000000b0057759a5b7c6si11661800pgu.62.2023.09.20.05.03.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:04:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VKbgxXsU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 78B8E81F9677; Tue, 19 Sep 2023 23:57:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233539AbjITG4q (ORCPT + 99 others); Wed, 20 Sep 2023 02:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233490AbjITG4k (ORCPT ); Wed, 20 Sep 2023 02:56:40 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7406BED; Tue, 19 Sep 2023 23:56:29 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38K4daC8016222; Wed, 20 Sep 2023 06:55:57 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=h/hn9VFfAvW0E9faiyvTq1jKzHjBvhwda0xZaUDtVHQ=; b=VKbgxXsU1pAV9JOORBRNn3ZTPakQ5lWiDNZpE/2Ses6vM7fqmxaYKoVOosdn2ZlDFCOh dymuVCVgTqHW30i5IseehPOx/oN9o/1wjn6uVDIVTt+lV023S+o9EsUnPlh+WvCP0ra9 I74M4mnQYyq49OvosO0E6Rzp8tqk2ZD0slja8Eu2nVJ0L2Ts8BzJn88ZRdXuVwyeCxqU ZPfkSd4jitj62RAQBSA4Pk04DgUi9dMvm8z3Uq3bnakxLnvB3c476bvP62GESv8CR9hE hoQ0UC2oYw7gfHTZf82aYAjTztDEID46KFe8t2AQmAQPNchL2vgcbVM02/mmgFYPGFys ug== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t7amna7xm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 06:55:57 +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 38K6tujK019509 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Sep 2023 06:55:56 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; Tue, 19 Sep 2023 23:55:48 -0700 From: Tengfei Fan To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , , Tengfei Fan Subject: [PATCH v3 3/5] arm64: dts: qcom: sm4450: Add RPMH and Global clock Date: Wed, 20 Sep 2023 14:54:57 +0800 Message-ID: <20230920065459.12738-4-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230920065459.12738-1-quic_tengfan@quicinc.com> References: <20230920065459.12738-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: jutnzbhqGLtZpCdKf8SekOCbyOVBrz5G X-Proofpoint-ORIG-GUID: jutnzbhqGLtZpCdKf8SekOCbyOVBrz5G 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-20_02,2023-09-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 suspectscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=861 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309200055 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 23:57:08 -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 3d9d3b5e9510..c27f17a41699 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>; + clock-names = "xo"; + clocks = <&xo_board>; + }; }; }; -- 2.17.1