From patchwork Mon Jan 30 17:01:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 648696 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB879C636D3 for ; Mon, 30 Jan 2023 17:02:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236678AbjA3RCi (ORCPT ); Mon, 30 Jan 2023 12:02:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237496AbjA3RCf (ORCPT ); Mon, 30 Jan 2023 12:02:35 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A76240BE6; Mon, 30 Jan 2023 09:02:28 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30UEO212006565; Mon, 30 Jan 2023 17:02:25 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=9LFRpLyRhXWyH+7jrPEhrD02rrf8/HqGRJ6PpLDFJWI=; b=N0TP8iVMmfA28jwro09ztdIs3wdKqdbnpQc17/beCp2/3yW9A6K8PP6QGDz0xNZAAxot zvXgdRNm6qssHOmFByQjnQubeC4Gvpldumwn7Wl6wUgQFPrPQPQsgQzcSheDkvyjbeem ZRU/FYJOdMALla7NmA16kHpFHXC2Tx8cF4TnwFByIVCCOVxfUFDiABRKVZTR2MkJOQyg Y3vnZqsi6Pt5+Pov6EcjdLPVIjcjJTHO6oXErDXhu1BUvkavZMMwjO5mPJVwxFjJDd2e djl5vKb/TQiUUI/VKPTBtXEJGowL6BXnrWD9lK0yi7/nfgkOFEJ1hjd9BNGldU36hEST yA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nefmfrbhp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 17:02:25 +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 30UH2O8i006723 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 17:02:24 GMT Received: from kathirav-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.36; Mon, 30 Jan 2023 09:02:20 -0800 From: Kathiravan T To: , , , , , , , , CC: Kathiravan T Subject: [PATCH 3/3] arm64: dts: qcom: ipq5332: add SMEM support Date: Mon, 30 Jan 2023 22:31:55 +0530 Message-ID: <20230130170155.27266-4-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230130170155.27266-1-quic_kathirav@quicinc.com> References: <20230130170155.27266-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 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: Zt_-Er4yQ3xTEIFVKHexE24jCadnr2xB X-Proofpoint-GUID: Zt_-Er4yQ3xTEIFVKHexE24jCadnr2xB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-30_16,2023-01-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 priorityscore=1501 mlxlogscore=732 suspectscore=0 bulkscore=0 mlxscore=0 impostorscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301300165 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org add SMEM support by adding required nodes. Signed-off-by: Kathiravan T --- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi index 6a1d0cc927ef..17f30118f9fd 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -99,6 +99,14 @@ no-map; reg = <0x0 0x4a600000 0x0 0x200000>; }; + + smem@4a800000 { + compatible = "qcom,smem"; + reg = <0x0 0x4a800000 0x0 0x00100000>; + no-map; + + hwlocks = <&tcsr_mutex 0>; + }; }; soc@0 { @@ -143,6 +151,12 @@ <0>; }; + tcsr_mutex: hwlock@1905000 { + compatible = "qcom,tcsr-mutex"; + reg = <0x01905000 0x20000>; + #hwlock-cells = <1>; + }; + tcsr: syscon@193d100 { compatible = "qcom,tcsr-ipq5332", "syscon"; reg = <0x0193d100 0x4>;