Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp78965rdb; Tue, 31 Oct 2023 00:51:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGzoVkAjh4k1bTxW7JwV6qwvGi9Q/WhtC4mY5iWXXIoml9awN8GA02m4cRqogwptCba9zmo X-Received: by 2002:a17:902:ec88:b0:1cc:5306:e8a3 with SMTP id x8-20020a170902ec8800b001cc5306e8a3mr3328877plg.3.1698738715192; Tue, 31 Oct 2023 00:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698738715; cv=none; d=google.com; s=arc-20160816; b=YkTs+XGqAtSYqGtGO9W3jP9/FURCMEerPWqFxZiqUI4uLyMT7Ygw+WvRi1sKnBuLzX vDgc9grY3OiXrmgizJLP3CSXU4HD8K/2Tjs8aIzK4dPDkJN7ctYvxRWW5oh5Zf+P3Eyp QbHLbqG4qlEtaFee3SMHX7MAd7b6toybCRtd/Xve1j3WyqT5V+7aQPK3EMnrFJzhiCRU byKvLSfZjdmBS/M9fPDyfhrQqH0pgYCQXGycfC7g68nqGd0QMY1Z5tB2pfRCz/dOZ0ib JuNpCorJyDaDHs3C9F3ueNBCB/5JzmeCPE/awkDU9cDFMYfPbFoidE71rCcrkyUn5nwp kLKw== 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=ePF4W4cEH+0HKFrp9eONgv3ljrGpK+3pbZzKEamWDHk=; fh=GzvFoTgxG4sgPQ/yf+k5BeGoJHC74bIw2gZ30q30UdQ=; b=Lm8+HcMXP7MM/BoiEhqYKDUqO2zqCQw6FpYLhYT0Rqn6TJ1ZZWbEikvUQrXyMqMmr7 zH3nVN7IX3YmBUv5+tKECDyP5tGml5fK3FnsxSPAxuNtdjP705Q8uMHfWjFD1qgPI69z 0TbNaDX/ts+Yvq4Wg+jB/i5NnPOJWbBlnfMMW+vniCL4KVHeQKKvWMJJ+3khaUnLH/2n sfSRDVOSTw8PM9yqeQa7ldcYGEwuHh8BxDTBAA77SSZPMrJQhCIVGBsC4J0NT6YRz/Jp /0mF0toFDzrdANrSWXJ9PJu4kseuD0L4BCFlaqhQJBV8nABXeEUDZRaNF0BjWEfZANkL u6LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A2Vsqn3A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id lb7-20020a170902fa4700b001cc3e45ac2esi638059plb.19.2023.10.31.00.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 00:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=A2Vsqn3A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6ED40806533A; Tue, 31 Oct 2023 00:51:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343788AbjJaHvW (ORCPT + 99 others); Tue, 31 Oct 2023 03:51:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343761AbjJaHvP (ORCPT ); Tue, 31 Oct 2023 03:51:15 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3915AE4; Tue, 31 Oct 2023 00:51:13 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39V5nLND031776; Tue, 31 Oct 2023 07:50:48 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=ePF4W4cEH+0HKFrp9eONgv3ljrGpK+3pbZzKEamWDHk=; b=A2Vsqn3AlOtH0A0nNPWJztfff5oSxZVJ6Azkb2tX4fPkRc/yuLvXkEkCo/DW5LKK5BnZ LSH276D2xstmiCh4Xg/gPrR2ikp2ouPEmWIXd8cvaMNLxbnprNUk8kfeLNkXjbHt3BnS zZE745f2gZMHAY/L5OlLVj4+W10Jkw9oqWxF2iS1GWnvl3czy/oV9J0D3+IG9aDItSPC T8qObPcfMdvs8IreLB21gFUW218xC1uFkWoX2S9nVVRxyaFp70Y7LhKO0nbfrpfA4NMe 3q7nNhkEmc8RZ1xfc7EISZ+VPUrAl0fBFznQ+G0m+gWb0ustKK2mw6jEGMqxhDY+l53l xQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u29fetnyf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 07:50:48 +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 39V7olRK029917 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 Oct 2023 07:50:47 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.39; Tue, 31 Oct 2023 00:50:38 -0700 From: Tengfei Fan To: , , , , , , , CC: , , , , , , , , , , , , , , , , , , Tengfei Fan , Ajit Pandey Subject: [PATCH v6 2/6] arm64: dts: qcom: sm4450: Add RPMH and Global clock Date: Tue, 31 Oct 2023 15:50:00 +0800 Message-ID: <20231031075004.3850-3-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231031075004.3850-1-quic_tengfan@quicinc.com> References: <20231031075004.3850-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: Zw5tdkjNVSN2pq0Dm0kz9Za9eiVY1269 X-Proofpoint-ORIG-GUID: Zw5tdkjNVSN2pq0Dm0kz9Za9eiVY1269 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-30_13,2023-10-31_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 impostorscore=0 spamscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 mlxlogscore=843 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2310310060 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 (snail.vger.email [0.0.0.0]); Tue, 31 Oct 2023 00:51:31 -0700 (PDT) Add device node for RPMH and Global clock controller on Qualcomm SM4450 platform. Reviewed-by: Konrad Dybcio 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