Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4151153rwl; Tue, 28 Mar 2023 03:28:42 -0700 (PDT) X-Google-Smtp-Source: AK7set80Vc6JW9CUup9HKwEQLnAhdY9PDwbiiHGHJ63Xu3WalWggkqKzsIqu1CzY/MnmPXXY795X X-Received: by 2002:a17:906:445:b0:8af:3382:e578 with SMTP id e5-20020a170906044500b008af3382e578mr22094550eja.4.1679999321883; Tue, 28 Mar 2023 03:28:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679999321; cv=none; d=google.com; s=arc-20160816; b=tkzTUO240PZ4uJBhUUrGIAk7hLyxMoiPX9lCXExopjFARRY3r68yNdHr2rXBsq/f21 Kd6y+x8qBCVbs6Y5FumEYSiBp2SCHhf5hyX7FHmjIFnrki4uouyQsT8lrmuAjUMJbtcM BEMS/HMSJCXBfJ8IsPoOeTHDdK43ONPhHBWSso5Ui5vNp9v3f3iF1tkO2i+tpJyjecsM vsABEu9Ecs4qwneVXelfdfTTb9W5TV5GuO60VKsSNpCrL7W9Lo80XNFs67tRWpAtNa2P UPPlUJ40iyzRzxZgWGqfQAAicMEphMuob5OLTdtMzPnFqAvXzovpN3Xffy+qSrr3zj+D HZsQ== 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=dunxGkyVWnRgXa2caWreYb69qL3j/qi7JGyEYcOBAUY=; b=cwxZw9YGC94z1WeWsB49GrEUSagcvhjI+RI6/fOh2R5vtHu+ZdiIq5JblieMDP8FY8 GjWQXE6qs1YoGcmNOAvDbIfCuOHcuAonRK00y0hSy1WUcCpuRbruFYVk1bde0pgTzjY4 sLkp6sI1eTv/gfaZL7suAP9d6zpdFI3eGypNP5yoQSD6MEt+f0qyHnEAwl/DidSmC2Df bDynNu0+EDE5dEiuZhGRjCsBuCMlU+IIbDeyYl2VmzrOZ0Zcp430BYB8kYjLTudGVdpM xNstYaKEYgGqnlPDBhlXYh1BEDA3XPWAP2KXnLhV+ekZh14yH8X4YsCDHyzcAKK1zyaF YD5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ah5M7t5g; 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 gn13-20020a1709070d0d00b00933b62b2533si18490232ejc.297.2023.03.28.03.28.17; Tue, 28 Mar 2023 03:28:41 -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=ah5M7t5g; 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 S230380AbjC1KVD (ORCPT + 99 others); Tue, 28 Mar 2023 06:21:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231359AbjC1KU5 (ORCPT ); Tue, 28 Mar 2023 06:20:57 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C95E16EBF; Tue, 28 Mar 2023 03:20:53 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32S6dYV0028826; Tue, 28 Mar 2023 10:20:50 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=dunxGkyVWnRgXa2caWreYb69qL3j/qi7JGyEYcOBAUY=; b=ah5M7t5gxxyJ9YnZRDMEzL4sSpiSS+0yQjqg6jvdjc6Q7Tk4sRA2MTjquiAUN6eq6fDF n8+EUn3fCjkJhA6Dg6ksETbyHce/tCbAyA6NDnZ3bR8f3g7rH2+voZ2uXuLvxNvBa8En a3VVMBkkSWx4NpUtoIBuzp05fNgGr0lsKU1VmMlOl1+nc+PU2TThmZMLGujKYm+Dc5Nu mv/hsTIXwhFndg7XaJo1/+rRk5iKxIFVB0K8ai7XDfDBW+oXE5XOw2n1wx4jJhBscAvp K5ZIpM70bOnDksdwqVdcQC6/DJWQBZAJvAOPkxKTD6dvYwRFdujaNyHSxt8NFunYyyI5 wA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pkk7b9djb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 10:20:49 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32SAKnFr029009 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 10:20:49 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.41; Tue, 28 Mar 2023 03:20:43 -0700 From: Poovendhan Selvaraj To: , , , , , , , , , CC: , , , , , , Subject: [PATCH V6 2/2] arm64: dts: qcom: ipq9574: Add SMEM support Date: Tue, 28 Mar 2023 15:50:13 +0530 Message-ID: <20230328102013.21361-3-quic_poovendh@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230328102013.21361-1-quic_poovendh@quicinc.com> References: <20230328102013.21361-1-quic_poovendh@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-ORIG-GUID: hLulyRWqvM-xxccQQjIlhhPJDr6F0umQ X-Proofpoint-GUID: hLulyRWqvM-xxccQQjIlhhPJDr6F0umQ 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-03-24_11,2023-03-28_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=732 clxscore=1015 malwarescore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303280086 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 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 --- Changes in V6: - No changes Changes in V5: - Dropped unrelated changes Changes in V4: - Added required nodes for smem support 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 099948f36efc..14a3396b0381 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -107,6 +107,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 { @@ -149,6 +156,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