Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8465963rwr; Thu, 11 May 2023 01:25:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ496NdLjl50WzhVMXgSh7TDw1aXKs0pdODs+QrTXVMWwBP4FhKXkTFDmaOkSfianZlSyolI X-Received: by 2002:a17:902:e751:b0:1a9:a408:a52f with SMTP id p17-20020a170902e75100b001a9a408a52fmr29169101plf.24.1683793506743; Thu, 11 May 2023 01:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683793506; cv=none; d=google.com; s=arc-20160816; b=RrrrxOtBWyvUaa3jCHeLWN7bjjRVGIEG4JOm0GCm3tWeFctdHLfvzM7sBDgCx2d/fo pVQk6w3p5d9B/Kc41Dg9rw/fYwkpVEiyig08Vi3r1MKGzasHhgBTz0+Djn9hn1mpOExY wgI6VK+i3YW/7h5hOK3Ce26CfkZ3yEH/Wamsr+3e+SPR6z/LePBqxEhqnVSSs9wVMWA+ gI2rdtlc9eW78lvrbNpNtnOtie2oJRXFI7iBkyVC97LRec+0wLmdLQk8Jo2M0keRNmej sBJMlUXNmg2E662RWx+11oQ7uF/3Blz4+lpdWS2iK8tjxdfJKU1bAQzFL1F2tXW3JFPN g/3A== 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=rhZmmJ3ZZCtZWS9eOJTxqlSvJ4VHjguaSECjKWiSqHM=; b=BopjPT/TrqMWAoTEMyo4/ZdUTA7zF1V7C7+z8TifncZm45uCxcyfkkhe7Bj5r3Ysrj 3egTOnAS8L9RwF99UyGtyhy83lzdJ+eJO1Tpvi5vpmx5wzCFaZ0L4qsvmk7LiSeQPjtL IdmcTObjBKQnA3+sUmnXPiVlq5zzmdLsnA0eb09bRBX3M5NG2wLpZESzjz98JbCjaigk stZ/wcuOt0+PbFLFX1OFQ6CYYQCpKBe8sW6/NDIMT3KVh7sbMRFiiu1wZqXE7UZ28wpi zcupRt8xY9ahBQkXInw98CZBSUpnpSpcQY/48KkrbDKXRuBrrWxYx8cazL+kEWwGKb7u ZN6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=b63NaBGp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r21-20020a638f55000000b00519e8003677si5877609pgn.664.2023.05.11.01.24.54; Thu, 11 May 2023 01:25:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=b63NaBGp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237746AbjEKH7N (ORCPT + 99 others); Thu, 11 May 2023 03:59:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237709AbjEKH67 (ORCPT ); Thu, 11 May 2023 03:58:59 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CAF049D6; Thu, 11 May 2023 00:58:52 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34B5tUvf016680; Thu, 11 May 2023 07:58:47 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=rhZmmJ3ZZCtZWS9eOJTxqlSvJ4VHjguaSECjKWiSqHM=; b=b63NaBGp60aSxd6ma4YT51Fcx+gLgg6tX/pFKfccxkA4qdX4DN4f9OMkwcXkt1/w+NZr VLiqlhosZPW6Cg5B2lQ+z0KOWRL+KSBNl49tkzuJy10D4NOXC6jDm4unKUt9YlflMboo 108ErxWLXlYgIA+oCS5e0FKD9cDssW+othrBI6V5k7Ga8AI6BemZFq5YwJsJ6heANeko k/VFKPcL83/KbAH+oQTUhUiDb+86ikgKrpo6NAHerbbK2wx0psUSnyBkJabYAPtYoPgk dhjIlKW0jEy0yV7bEJ2zkoBMBAPFmeqie85N0LYNcF42sGAjRZ3cVG2LL+jvO65rpEKO fQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qgpfk0q2c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 07:58:46 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34B7wktp012957 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 07:58:46 GMT Received: from poovendh-linux.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.986.42; Thu, 11 May 2023 00:58:40 -0700 From: Poovendhan Selvaraj To: , , , , , , , , , , CC: , , , , , , Subject: [PATCH V7 2/2] arm64: dts: qcom: ipq9574: Add SMEM support Date: Thu, 11 May 2023 13:28:14 +0530 Message-ID: <20230511075814.2370-3-quic_poovendh@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230511075814.2370-1-quic_poovendh@quicinc.com> References: <20230511075814.2370-1-quic_poovendh@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: HEKXquEscCA3qn6qp_DILvVGgIxw01xh X-Proofpoint-GUID: HEKXquEscCA3qn6qp_DILvVGgIxw01xh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-11_04,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 suspectscore=0 mlxlogscore=835 lowpriorityscore=0 adultscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 mlxscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305110068 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 Add the required nodes to support SMEM Signed-off-by: Poovendhan Selvaraj --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index ee85258da066..ccf70bafabab 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -101,6 +101,13 @@ reg = <0x0 0x4a600000 0x0 0x400000>; no-map; }; + + smem@4aa00000 { + compatible = "qcom,smem"; + reg = <0x0 0x4aa00000 0x0 0x00100000>; + hwlocks = <&tcsr_mutex 0>; + no-map; + }; }; soc: soc@0 { @@ -143,6 +150,12 @@ #power-domain-cells = <1>; }; + tcsr_mutex: hwlock@1905000 { + compatible = "qcom,tcsr-mutex"; + reg = <0x01905000 0x20000>; + #hwlock-cells = <1>; + }; + tcsr: syscon@1937000 { compatible = "qcom,tcsr-ipq9574", "syscon"; reg = <0x01937000 0x21000>; -- 2.17.1