From patchwork Mon Jun 22 19:19:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 191385 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp1315714ile; Mon, 22 Jun 2020 12:19:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyjzutPoU2/tXrwApi0NCDuDRx2rTsIxWg0EPhpYGJKLSDwefbbwLNniWi3d8SQVsxbNXM X-Received: by 2002:a05:6402:1202:: with SMTP id c2mr18029850edw.182.1592853591927; Mon, 22 Jun 2020 12:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592853591; cv=none; d=google.com; s=arc-20160816; b=uDoo5CugfHf24XRkjuWcReVNbbCE1+OCgHxU2Hajo5slseHsc+4H5TO+wwWxTowo09 JNa1yYZXfMxv2pMnjkiZ96XmVXA6rKTHZg4H1pQCm2m9mwV1S5u5JJTaXBrMgnrm0Bt7 wMauU+wP8qMRUYd+0dXdfmEK8uIf3dzj6Hi9nz6EDRm2X4YnCHF2YJ6EcEg00xzWzMhF JoPDcnhFneYKe4ipKvk0sHo4HrPP1XrJGbfUM88Fw/jb37L7QbaNNQPDkbpdpWkBohn5 0g54bpwe7qKtDSErop5ukYxMk4DaK9+/4hAg4c8U3Q35LcsgZmjIjV0BHsqhk9hk95EK osvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YIazu2RiYqWy+wLjTZlhFuFMzL0wUDBze0yedPUrnMk=; b=ZBvwVM9njLp+LfoIwEfYlEpk8EBoDvSUdclRm0/E1gBuoYRiZinJLp7+ssbfhwfpBr s1Sy0ME/GeLzG2clLpuE/sMhd17sF4E2YqLTuNJTzxHcliHzR64wuyEqYmJ1uu6nkvA+ L3lKZN4BhPHPPv7xvYV8JtQ7OdROIrKmo8Z30eZYQFzht37mFxUaM6PuUYLKDGFCbXRR b8Gz96ci4fjNB383dXJJw8LUG5oS2VvcEMx+t0cCu1rl0KLm/D6TxnjFPwP+9XQUKmRw f7Cs7igtuLfIaKc315MrflCWeZW2UPd/gBZTbDSrO7+BSKPs8rLjs5In/wQmxY+8qC7Q fREw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rF8znHBG; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si9867261edi.198.2020.06.22.12.19.51; Mon, 22 Jun 2020 12:19:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rF8znHBG; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728557AbgFVTTm (ORCPT + 16 others); Mon, 22 Jun 2020 15:19:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728538AbgFVTTl (ORCPT ); Mon, 22 Jun 2020 15:19:41 -0400 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDD9FC06179A for ; Mon, 22 Jun 2020 12:19:40 -0700 (PDT) Received: by mail-ot1-x344.google.com with SMTP id d4so14078616otk.2 for ; Mon, 22 Jun 2020 12:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YIazu2RiYqWy+wLjTZlhFuFMzL0wUDBze0yedPUrnMk=; b=rF8znHBG1+wbr507/H4zIJpBiygQSLn5iMVT7/IHb9kHNVnPutLYZ1QtxmlZSchb5q vK/gOdkb6X9ngylTLc+GTaJZm0Fp76zz/jc/gXPRUtqcpgChoP3qgFj6bm9pn9e3YBOj njS6L9EqhsJkSslXOPjntPjJdvBe90oH5yJSanndoBxIj7puBLZhwadw4Aru/D0Qn3Bi D5XyInJTmjuAH4I+4EQS4n8YBGhmAPd2aqeXx+yX715fFOsfmav3EBOhvVoIyxfpMcqW 9XHsu4GS4AJ6edJ4vsDuhoeFsPaVOzRV4u6oEmAbsTvXDf0fwKCf3PI4IO0hd5SJPxob ryMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YIazu2RiYqWy+wLjTZlhFuFMzL0wUDBze0yedPUrnMk=; b=du/ihKlIDd7tvkELAibhxB69mQWuV90YVlFRBv0C4kIkm2d2QbrAJv3pAzRnNoOO2i xMYfCOA9htD4P+nnqnIa+8E3LnA9PbjGA0lipB9i4LWxNgMXDN1sQQ06k+zw1rzyKZjU cHJTdx9pZKhznmVDIS7zHCRcIHNYqETVlJSsIkWIQjhyLt40HCBz4BZF/Y1vM+dvvNzJ 6X6EM7E52/4WovhwzhgdUd1XBdexJCEHU+9J+83EQ13EdDL2WwDbV7LCFMkufMFWMtxF hdIS8ge3fWb+3ntIk7svZss/2s+w7tYo0z3f8TjiLsMNMPHjJF1JyMTB8sj0jLWkBrcj cWdg== X-Gm-Message-State: AOAM532aNRFpV4Zv0pBLjF8ZT4wDCy2usg7yCu2P5yGAL6WClyfQIid0 03QPHPXzY8ODV+VVvGzIAFPBcHFycA0= X-Received: by 2002:a9d:1722:: with SMTP id i34mr14228083ota.6.1592853580165; Mon, 22 Jun 2020 12:19:40 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id m84sm3348294oif.32.2020.06.22.12.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 12:19:39 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Ohad Ben-Cohen Cc: Rob Herring , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Vinod Koul Subject: [PATCH v7 5/5] arm64: dts: qcom: sdm845: Add IMEM and PIL info region Date: Mon, 22 Jun 2020 12:19:42 -0700 Message-Id: <20200622191942.255460-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200622191942.255460-1-bjorn.andersson@linaro.org> References: <20200622191942.255460-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a simple-mfd representing IMEM on SDM845 and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteprocs. Reviewed-by: Stephen Boyd Reviewed-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v6: - None arch/arm64/boot/dts/qcom/sdm845.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 8eb5a31346d2..fee50d979dc3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3724,6 +3724,21 @@ spmi_bus: spmi@c440000 { cell-index = <0>; }; + imem@146bf000 { + compatible = "simple-mfd"; + reg = <0 0x146bf000 0 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + ranges = <0 0 0x146bf000 0x1000>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sdm845-smmu-500", "arm,mmu-500"; reg = <0 0x15000000 0 0x80000>;