Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4476940rdh; Wed, 29 Nov 2023 02:35:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1OTw1SzZHN0OiElQxgHQV15uL+0/3FbfafdJApyaCskmqj8h3se4Czx99vnjSPoq6ATp+ X-Received: by 2002:a17:902:a717:b0:1cf:ef92:18df with SMTP id w23-20020a170902a71700b001cfef9218dfmr5816990plq.9.1701254136296; Wed, 29 Nov 2023 02:35:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701254136; cv=none; d=google.com; s=arc-20160816; b=FNlS0zBiC8NOMOUkULUzsYa8KF4wgtouiIJwMTOb3/u+JiOOhWfdcLVuDLzOu+r6HP eTieu4RCEpwiPRh47t3vVfMXWOpaa5spe43a5EE2cbQaC23aRTV8IQkcH0HGxoBwwhuk FXzWVsbyriYCzq4QooLxLUu96RtQ3cJ0djVJwjvd0Cg0Tap8T4pV0C57thwfLmBxrezA 2oMyURkwwH+E+Btjo5Vr1NiFpumlbYKz1on9ULvX0ik8WSXaZmgOwkJJhLoN1QeAaIHa RpPY/7BaFi1jCCsgRAWvV5BQGePIhg7UoVSuNEQG42pO2ON+F/4yFSQSpcyLBFgJg6lO By8g== 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=4BAPeGQ6QzL6pe02UjqyTycUWb5adekOg+PbehzCh+o=; b=qgFEbYUUKkTIAsXLOhyFeEjjwP/2VtjHdMYf3ITxVSOk+pglvFnjIn97JLZlOC3vo9 goNxN0AvP8Mma+h+hMo95vU9NXcRgzcY5logVAmGGzZZWkl0zkvu1suA5aRcYT+GWh0e 2NnjM13pk0WcOnrHLFtnuc6tnkY4TIzI/rekulen0f5/EbnxgvRa2264tlFA1cqG5q6T xBQAx9kKC1+Lr6jvUruwScTEM35Lii5zhOIMN/WecjE+oj4fZPddX9Hm5h67Xnu6Q1RN N7oKc8sxoqxia/W9kDljGjH5inhnBC8i1sr3SONZHZzHA3peTBF/J1I8/AsCVAulxS5O EGzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oG05vT4u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x4-20020a170902ec8400b001d0087eee04si2484381plg.427.2023.11.29.02.35.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 02:35:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oG05vT4u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id C626D8221785; Wed, 29 Nov 2023 02:35:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbjK2KfD (ORCPT + 99 others); Wed, 29 Nov 2023 05:35:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbjK2Kep (ORCPT ); Wed, 29 Nov 2023 05:34:45 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18CF910D3; Wed, 29 Nov 2023 02:34:44 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AT2jiSj002989; Wed, 29 Nov 2023 10:34:40 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=oG05vT4ueyFXEQvYHOP3jPXrOgcZrc/LnsBZZlokyfHG8stcOO+I+KLA3rGtz6D6SL6K IGYoA9JfYu0rlVnzmRU389+RXHv76EXbonaPpmaEOmJ12hPoilYZTLuNGvmGepyPCFPP mDkle2+oyJaB69ZB2zobC6+t+btpGYlUUCtL8Hdp0/XK0mb8RkYkLc+RfURH9BNmSns1 f4Ah0MIMn271GNzZ2eEngykcCILLyV+F58hirAgszhE+TsL+1ESK225KMCzt64lt7FzK VK80n3bZcm6X8bjCaf1CA/tEUsfGDT7PFZRdhZIeJFT8V0OUUQgcRjIVrHY6cQsg5Kfj 0w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3unnpesytb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 10:34:40 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3ATAYdAJ030845 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Nov 2023 10:34:39 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.40; Wed, 29 Nov 2023 02:34:34 -0800 From: Tengfei Fan To: , , , , , CC: , , , , Tengfei Fan , Ajit Pandey Subject: [PATCH v7 2/6] arm64: dts: qcom: sm4450: Add RPMH and Global clock Date: Wed, 29 Nov 2023 18:33:21 +0800 Message-ID: <20231129103325.24854-3-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231129103325.24854-1-quic_tengfan@quicinc.com> References: <20231129103325.24854-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: _PzIl8m5VP1tkWU60o-yCwxMoPAsoZst X-Proofpoint-ORIG-GUID: _PzIl8m5VP1tkWU60o-yCwxMoPAsoZst X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-29_07,2023-11-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 impostorscore=0 mlxscore=0 phishscore=0 mlxlogscore=743 priorityscore=1501 adultscore=0 clxscore=1015 bulkscore=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311290078 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 02:35:33 -0800 (PST) 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