Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp551595rdg; Tue, 10 Oct 2023 20:17:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmwFBu3rr/5lHrj7HqD9Ll5V59KRK9MGkzReboctwdnMBo3uNLwkyfHLEin+0JwiVJCyEe X-Received: by 2002:a05:6870:4187:b0:1be:ceca:c666 with SMTP id y7-20020a056870418700b001bececac666mr25527499oac.14.1696994234966; Tue, 10 Oct 2023 20:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696994234; cv=none; d=google.com; s=arc-20160816; b=u9AN6ptLeOQ7D+Ip6ptuNzseQcg2c4fXw1SLS2CcLR9sDKmk9WAc3gFrPlNbvJC5Df RB7XTaNRaKO1F9clPuTsoORRxs68l+XUPYUnuyItJV123/HMA6OnjTZ4h044M581puwS 0YZatVRbPASZ0IbLvS6ZRLOjSRRKxlFPx/ZGL8dSyibaPICkQDFXqQMaMjP4y38k77V9 5Gi7bjQukdu2+YtELeDe83WYykbOcwM/eBJFkf6Ahr/O23qPPjVsMSsro4Q2oXcLVjhb kwxnNChrvPGBdoKpwM7jaqT0IgKwabnXlQv3Fbl5s8DcocTf/6bss8+c4D2gqsKOU80E x/2A== 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=hitRBzdEkBzGsaCH4NDbt0fsMNJ1562l8OuAixA11D4=; b=We0F+3Ue8efT/x5l644KUX4EiwjOqsMqHgc247KFcKsh08095ciGbIWo6sbkRieRQq hcaRx5WFyLI/y/AUSyhN8INDdRHDZE87uIf41E2pSDhN/PfT4tMwev0PunTMRZcYKDDZ HU79rLmiW0X3my6JatVwzqMn4Mueb0fcTB0x0U8Li+h4yw5tujgFvzN62YwRN7ZjYorC GTAL9YWGncI39eQ8jq1In/3KhnFKv3x3CCoblbq7QNuDTiQFNnZ2aavk0xkiIv37+VYs 51pbCHBvj1G221JGJf95lr427rNKQhpB3pqJd6AJpq6C28IdxagDEcF/TcU69Qbgcjkh RZEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=m9pSWfnl; 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 c66-20020a633545000000b0055ace8caef9si13231848pga.309.2023.10.10.20.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 20:17:14 -0700 (PDT) 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=m9pSWfnl; 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 521078078677; Tue, 10 Oct 2023 20:15:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345017AbjJKDPk (ORCPT + 99 others); Tue, 10 Oct 2023 23:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345040AbjJKDPa (ORCPT ); Tue, 10 Oct 2023 23:15:30 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3E1EAF; Tue, 10 Oct 2023 20:15:27 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39B2rsHl016229; Wed, 11 Oct 2023 03:15:09 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=m9pSWfnlidm+bIUvrRX9XGiHLfNf+xdMkXAlal8wnhxHCtfzhwSI4G16NCyQsLEvT5hG twrQzprpM6iXQEMzmcmWwkCp1TpC/SiyX3lZgL+UTgg3P/V1QwjWwtbq3bxGa9P0YSBN juVdam1My2Wgum3BaeE3dbbCGq///339ktdk5kSGhp7K/CBjl4rDe7jFW2yssg3PCRm/ H4Y6F2gUDpat5CHLL3uQhqIHx3apCowU5b42PpedrcHGF5I4vWfBpnTAmWvLMpnYisIr YD51N43Ybe43fdh7FoMDpI/kZ8T9kAYIUq8mXuuF+/LuxXgnvdE1IzssbiSRVfR/GKs+ tA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tngtp88hk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 03:15:08 +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 39B3F72L002030 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Oct 2023 03:15:07 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, 10 Oct 2023 20:14:58 -0700 From: Tengfei Fan To: , , , , , , , CC: , , , , , , , , , , , , , , , , Tengfei Fan , Ajit Pandey Subject: [PATCH v5 RESEND 3/7] arm64: dts: qcom: sm4450: Add RPMH and Global clock Date: Wed, 11 Oct 2023 11:14:11 +0800 Message-ID: <20231011031415.3360-4-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231011031415.3360-1-quic_tengfan@quicinc.com> References: <20231011031415.3360-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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-ORIG-GUID: tqEOVEhOVu9B9WqeGDXMHjZWlcDy1qJl X-Proofpoint-GUID: tqEOVEhOVu9B9WqeGDXMHjZWlcDy1qJl 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-10-10_19,2023-10-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 mlxlogscore=859 priorityscore=1501 bulkscore=0 impostorscore=0 mlxscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310110028 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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]); Tue, 10 Oct 2023 20:15:53 -0700 (PDT) X-Spam-Level: ** 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