Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1037041rdh; Mon, 25 Sep 2023 00:52:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdiveeMXRE1XmFb/wHQvWpoK/AAeVdv9U9YlHfaZTnUy01HHQxIXPRJk5Z72ZfVmOBPP5D X-Received: by 2002:a05:6a00:1ace:b0:68b:a137:3739 with SMTP id f14-20020a056a001ace00b0068ba1373739mr4971948pfv.4.1695628329315; Mon, 25 Sep 2023 00:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695628329; cv=none; d=google.com; s=arc-20160816; b=KIIZZ32SqP+yNMug7alX2EfrQJWzyZVuLmZcBK2CPIsp4oWjkUFX2k67Moufxvfqcr mt+lOBXqWfan6CaXk6S17VyJIulsdWe2tDRXMOiCRuyW0m5WS6+OL3Ov1xQ0j0xw6r6Z yq1qhiXAonapsm7upWTbh4VsD3FqaSUOq88iHCibqEehjqi5JsI0bqj7qBXho8Qw4VVX lZr39v+CLP48U506Do99KQeU5clPVOsZ2dIBoc0JiwI44TS2rln3ujLxqD9BZk5ycKjN 2SgWoNKuxEBWx33oqAnk1yJHgfXxGV2CP6ELgHqXSpX17lT1E8ULhhOoyfORtcheDwhb YbGA== 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=uTXHb9XOMNTE+TcwxKlEahAz+kJzUfJMzzemU7Y0flg=; b=CKV2ywyA99TtA34M22SSbGNn4SQGgDNOR4+OuDfe+UgBFrcJ44KAEYSX0onWRqMn8C ciHME7eI6SAbLNXNqIdhO53ldh3jbCPbw04x0nTCzkNR4CJzU8gWmTr6kGlPOEJ+qCob trqrRNdBXzU1SKiZy7auQGl6pEUsyBZFi1xXAnjkYdpReCqWNp1Adn58ho3/B6imnCUZ yApJ6mwibmRpTjDy0xpffoVcUaDMKwIbEWM0AcTBQb5VRZTkjNbwIO7BKgFP6mzi07gx qwA0Fi1e8MV9FASk83VNf+6HTenmdnw4Ye56wuZLAIzwyqjpAKJKSHpDHTvTOSIHM+DQ 0vYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ooDHLSJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id h14-20020a056a001a4e00b0069018a768cesi9760133pfv.405.2023.09.25.00.52.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 00:52:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ooDHLSJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 382AE80763F2; Sun, 24 Sep 2023 23:51:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232394AbjIYGvU (ORCPT + 99 others); Mon, 25 Sep 2023 02:51:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232265AbjIYGvF (ORCPT ); Mon, 25 Sep 2023 02:51:05 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D2941B2; Sun, 24 Sep 2023 23:50:49 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38P5NWFM024426; Mon, 25 Sep 2023 06:50:20 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=ooDHLSJxGrOS+I01U0jyRZaaaqNt//hwHyYtbYQD1HDlommybgYlFTpN7qGRlAbwgg61 KyVELG2zAtmbh2XPy8BAoKChDKMjF2RF0ePhbY0kedobwkngD6gqw/jK/68iCb3MowQP THSkZoMn4x5E/MzQWCsei7DptGia1S+7F/8AwTtNx9M5bjQvL6eKBBBHgNVCezm+9I1S /y8TOyT691MQd5TXDw0XOUW0Jz09Z7rJMOCb1/+YVG8Q35+ARVLDjucAeNyPUrmViygD DHmcO/5RzZkiNcVWprsgzLfbVvw9fsoy7bn3WJuWygggdLOTKHul7Cba2FxVxHCbZ3I9 zQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t9rsq3ad4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Sep 2023 06:50:20 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38P6oJxw006872 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Sep 2023 06:50:19 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; Sun, 24 Sep 2023 23:50:11 -0700 From: Tengfei Fan To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , Tengfei Fan , Ajit Pandey Subject: [PATCH v5 3/7] arm64: dts: qcom: sm4450: Add RPMH and Global clock Date: Mon, 25 Sep 2023 14:49:23 +0800 Message-ID: <20230925064927.26448-4-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230925064927.26448-1-quic_tengfan@quicinc.com> References: <20230925064927.26448-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-GUID: SH9nVbaL4kADb0fBK922-54wxyGtqDQ- X-Proofpoint-ORIG-GUID: SH9nVbaL4kADb0fBK922-54wxyGtqDQ- 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-25_03,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 malwarescore=0 spamscore=0 impostorscore=0 bulkscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 mlxlogscore=849 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309250047 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 pete.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 (pete.vger.email [0.0.0.0]); Sun, 24 Sep 2023 23:51:33 -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