Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp337124lqh; Fri, 31 May 2024 02:55:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhKX+2PrGvJcExePsdj89QFdUIXv78UfrtJP/bOgX+lOC5zhWo75iATwH0mE6oOY9rucPu8gAQH4OA5uAo+V1cE6AqCD1aoujyYbDmVw== X-Google-Smtp-Source: AGHT+IENsFQZOHfjCBgVHcgKSH9J8z7FZOftC73eLPTROs+Cq2bTDc6k+Mb9S46S1Wkp3GqxVFDa X-Received: by 2002:a05:6830:54:b0:6f8:f024:a587 with SMTP id 46e09a7af769-6f911f31319mr1516936a34.9.1717149310741; Fri, 31 May 2024 02:55:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717149310; cv=pass; d=google.com; s=arc-20160816; b=Idi+ORKb0NWQkjvRp+Zhlb2DoD1z/A/ByCRArpB6XSpGc/ZabgAOrt0p1gb8KkwCcB mH5kIq4hgleH9ihFLzg5EFjXAuT1EIgwkGNo15gDLRjn8k/6pPOnFT/dSq4ZWjbVOszT X5zntjmW2LKFK+RxxGk9rbgyRAL+XYurZMPI1+TINk9/5hFZgjKPWvLGTvmeg1yJWgAU U5QNX+8n0D7I+UHISNyce6ILEIiHD0hiv9r9hL8tY2EoJlZ/tNPz7U1EMuYLdh/2QOxG oNUXWNVWLVCblg3pBjTtu/xdP/OnJrK04a+EuvLAWEwdKUBQjlr98ZMOm1JTeIs1AulB kplQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=fF00rAlcyC8xas2IdPBpf9L/XR6cAiVh/5MAW3K9l50=; fh=TgiSVHq6ojTWUnd9/1BEfkxPuzEsIYxK//YQRKsZBz8=; b=0DmHlUIyXO86/D3tSX5ytGRaGNW1pw8mIr8Y+wgbZEghmohY817vc5YdMz4w4VZ2X3 ul+rXysLKnKo1KYJx333xpMNST+wqsgaB2Ir0zkcdVRnU5P4uieFeR0wCG1lFhxIKnQz 5uQaJAfiXoml3zkXJYrBwTbMGHwsO+e0w7JkN9gF4vLzZEcfhVsWAOrw0JgfXQXpl8b+ j5jLFXKEVLS6eMip7rWxsNWQ81F7FE4p81HrDHXN1GyFgpKHWbBzewErM36rmwFh9Bsj z5ZEafw6eFKfC4/Bw6FO4iDHhcaN7nuFAnm2YRLbBq/PlUGadMqG3MrP1OEUIrptAUoU 1d5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jCaDq3Ja; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-196598-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196598-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35af439c9si1259817a12.431.2024.05.31.02.55.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 02:55:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196598-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jCaDq3Ja; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-196598-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196598-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AD28CB225BC for ; Fri, 31 May 2024 09:37:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8840E1514F6; Fri, 31 May 2024 09:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jCaDq3Ja" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7246F135A79; Fri, 31 May 2024 09:35:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717148160; cv=none; b=SCW+IlEwB7jrJyY+A8Hsnbja0CXOzDTqybPH8CAfkTFHl+OM9E8wRHGBOYpJH8tgfJbQP/iGQgPr7m7lQS3d8SwFsJDiKTiCp8ld6ctT7BQtYwXZUPwTa8jAfKZmaum0YhiegXLD+ybXZ8FUUJJT6EEMPn02gRi2hZbMqCg6rxE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717148160; c=relaxed/simple; bh=4VxoEvVUBSNHKzOswEZlQ04WHSLg0sZ+I/BNz/QpoBo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lgqezW2dZvv2VTnKqJ+b4sTs0W7BnD+MQKi5gqs8BhBGmGp7xRPD80MARllStq6A6kA95/WBAW5xqxi3el26sMzRYOi7pno0yqavxBmBdjPvpzV6xmWsMbcBfj3PlkLT0tGhjye1meDBVhUhUKUh1lcpuj5hALokeRVZzxfnBIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=jCaDq3Ja; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44V8aJg1029210; Fri, 31 May 2024 09:35:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= fF00rAlcyC8xas2IdPBpf9L/XR6cAiVh/5MAW3K9l50=; b=jCaDq3JaqfdeZO8C sFF0GHEKqG+dddU3lPtlgfgrrF4/GldqqChhfPH+B1Rtw5FrQzXYphPU7Re+bIe5 WhKne7OF+O4jEVLITO70aeyU7iA+MxKsK1tjXQi+E+BitQXNuPpFqFXcy2QoEci2 xk/ZZ/5a8b38lt2wY8BxyovvF19Ml+j+tQZUiwnqA1prN/eDtj6jnZtZ+PCjWisy g2y9npspDo6Tsnnve4ZJoi7IHrhir36rAciTlOjotXrG55i9bxQ5sLQ8MWgCZ+40 qC8685FTP3ngzOwnDhp4rlkJq8EVOZLwTbscAOzuSxfGYGJZ+gmlsZ9BPRzQg0LI 18YAkQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yba2hebxa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 May 2024 09:35:56 +0000 (GMT) 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 44V9ZtOQ018983 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 31 May 2024 09:35:55 GMT Received: from tengfan-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.1544.9; Fri, 31 May 2024 02:35:49 -0700 From: Tengfei Fan To: , , , , CC: , , , , , Tengfei Fan Subject: [PATCH v2 2/2] arm64: dts: qcom: sa8775p: Add IMEM and PIL info region Date: Fri, 31 May 2024 17:35:31 +0800 Message-ID: <20240531093531.238075-3-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240531093531.238075-1-quic_tengfan@quicinc.com> References: <20240531093531.238075-1-quic_tengfan@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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-GUID: HfgRrAVpW-KTeJGgw0nZEVqq5p-d0jXw X-Proofpoint-ORIG-GUID: HfgRrAVpW-KTeJGgw0nZEVqq5p-d0jXw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-31_06,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=598 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2405310071 Add a simple-mfd representing IMEM on SA8775p and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteprocs. Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index eae0de9720b5..89496728d840 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -3044,6 +3044,20 @@ tlmm: pinctrl@f000000 { wakeup-parent = <&pdc>; }; + sram: sram@146d8000 { + compatible = "qcom,sa8775p-imem", "syscon", "simple-mfd"; + reg = <0x0 0x146d8000 0x0 0x1000>; + ranges = <0x0 0x0 0x146d8000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sa8775p-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0x0 0x15000000 0x0 0x100000>; -- 2.25.1