From patchwork Wed Feb 22 15:30:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 60577 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp643364wrd; Wed, 22 Feb 2023 07:34:33 -0800 (PST) X-Google-Smtp-Source: AK7set9ueJXRpkiUn8K9XfKE4TEji1ddcpfD5v6QzHffEReKhNHfogUW2h/RYzhUTNRuBNhshkyP X-Received: by 2002:a17:906:4ad0:b0:8b1:75a0:7162 with SMTP id u16-20020a1709064ad000b008b175a07162mr20922112ejt.10.1677080073185; Wed, 22 Feb 2023 07:34:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677080073; cv=none; d=google.com; s=arc-20160816; b=AH5KP+0Y2CdLXgBPgYQADZ2RcmXMZiUCtT+yq2DfJ2pMFwaSUnbCvq9HRbmduE70g1 bPH3Q22JPDOoUwpeq9ZH3L3IJJKjm/mtw7uc/S7kW1//uxrb3Kt3x9Hvui2jpBlZLQ9T sWRr463gS/25j5bIKIIhr2AH1PY+TSRY5B88V3Omk1+FEjooyWR4Oo48/aiZxdk3+Bx0 Oz41hydwogJzipIWZ6bhSJmGuMQffHfo8MnuLwk7luOL2vQC6cPhY4Q/4pxeNEDbRFy5 FiIa+Jd5tZTG6eqsDBpqAuBWEaa9HaaD3cPwgfMU6usle25jcM7i23Aim7cBiOURRik1 abTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=dAOCZOsYVVepy4K+yZq5topHeb+2XsuowkObHwWs6hM=; b=GuuWi5TxXgILfrbd85oWvdo/efUviwbB+nw0QIsdqN83cBivJ7Rh9aC9YqJFWS455C i6jrphDkP4xS7R/gloo6UOkCXGQZxgkydGKj/BTI4x5S9CZdhR+qEVN8YhRtky+yRv+5 Sgj3TxioQJWpxJFPq7Wzr9/heOAww1LSG20WFYxDDScDAz3OAZLj+MFG3+U1heREuT4n bdjqEDm9Al5e8fEivS2Se+18uoHDLITvl4fM63c0li+QAOMP/unAcLL+MgZiTL2sbKDi ijtWjPvP5MdlXqz+moiBjIV8LGoO+R27QBhsDL1203S/5FyEbRul+lLHDm87uPJ83KQ+ pcsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mAVwliA2; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m25-20020a170906599900b008c6691eecb6si13734267ejs.235.2023.02.22.07.34.10; Wed, 22 Feb 2023 07:34:33 -0800 (PST) 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=mAVwliA2; 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 S232501AbjBVPbc (ORCPT + 99 others); Wed, 22 Feb 2023 10:31:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232489AbjBVPb3 (ORCPT ); Wed, 22 Feb 2023 10:31:29 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F36437737; Wed, 22 Feb 2023 07:31:28 -0800 (PST) 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 31MDhds4009847; Wed, 22 Feb 2023 15:31:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=dAOCZOsYVVepy4K+yZq5topHeb+2XsuowkObHwWs6hM=; b=mAVwliA2R3alNzvFS4QxEinFX9bpe5hQVE+0tf1yQfmGPme3ZV1vIhjxpSCUO9CsoQ0a wgK7X3yLqXxN4dCt32KS9k8I5i9BBGOYVis59k7wDWXCkOr8TFecN5N7+UvnCCwJtk9W TSKQgZLlkIUTW62bhvKg0d4Pl7+eXQst5REyr0dePBhsjRWYcvOIt+pwrcaKj0lNW/G/ /AtRucA28gF6cZsWkN1J9NQuS6Y2vM0QCW7WwmZXveNxo9YAA5xL6QfjSuTFjGDI1IX+ bQDZGOuZ9/dzL8am1ZbUTg7qG5QKe8mODVv/BNlZuzYOPA4oQRbBBUDd3dmgG523cGW7 0A== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nwfh011ux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2023 15:31:20 +0000 Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31MFVJ4O003953 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2023 15:31:19 GMT Received: from hu-mojha-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 22 Feb 2023 07:31:16 -0800 From: Mukesh Ojha To: , , , , , CC: , , , Mukesh Ojha Subject: [PATCH v3] arm64: dts: qcom: sm8450: Add IMEM and PIL info region Date: Wed, 22 Feb 2023 21:00:45 +0530 Message-ID: <1677079845-17650-1-git-send-email-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: jiOSnL87XoKb1ecIFxT3SJgq3fC4X-gb X-Proofpoint-GUID: jiOSnL87XoKb1ecIFxT3SJgq3fC4X-gb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-22_05,2023-02-22_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 bulkscore=0 mlxlogscore=555 phishscore=0 impostorscore=0 mlxscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302220135 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758545914788441444?= X-GMAIL-MSGID: =?utf-8?q?1758545914788441444?= Add a simple-mfd representing IMEM on SM8450 and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteprocs. Signed-off-by: Mukesh Ojha Reviewed-by: Konrad Dybcio --- Change in v3: - Sorted by address. Changes in v2: - put ranges after regs and corrected the sram node position. arch/arm64/boot/dts/qcom/sm8450.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 1a744a3..7671f15 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -3689,6 +3689,20 @@ }; }; + sram@146aa000 { + compatible = "qcom,sm8450-imem", "syscon", "simple-mfd"; + reg = <0 0x146aa000 0 0x1000>; + ranges = <0 0 0x146aa000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sm8450-smmu-500", "arm,mmu-500"; reg = <0 0x15000000 0 0x100000>;