From patchwork Wed May 13 05:56:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11544685 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 18A4190 for ; Wed, 13 May 2020 06:07:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E95D42492B for ; Wed, 13 May 2020 06:07:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z9W0BIi7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729287AbgEMF5i (ORCPT ); Wed, 13 May 2020 01:57:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729213AbgEMF5g (ORCPT ); Wed, 13 May 2020 01:57:36 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19AC6C061A0C for ; Tue, 12 May 2020 22:57:36 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id k19so6394981pll.9 for ; Tue, 12 May 2020 22:57:36 -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=DcfzpsSQi5daWC7gaUxlctrXi7sUjiovhdgBTIYbCvY=; b=Z9W0BIi72UXdojVMzZWful+VXcfM/7mRwMC0X+0E84c4Aui52O/gq58ODytZaCoEpq lppEFJ0h7Z4GNiBHYRnIDRoFncvLX1S0EvgYazLkYCpxr+ky75g6xiaTCvd6DGe11jfb DZcKTjwZqlCr2Wh76Z1aIPZgIo5NPAOcGmu6gJt+5IRqROpUtzVxoWJ5lyQrNjHPPuQM DPQeGZnpgqSD6DfOCAehh7lBYBYMxO7K1sQTl3tKQlctMrLMkUJ5teaymmG3yFmH0W0K Xu5a3pwpaoK9CEqrxWI2iyKub2dQymK36F/omOttrnx8Z9CkXAzznvIQB1HJWazOIiWT N2GQ== 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=DcfzpsSQi5daWC7gaUxlctrXi7sUjiovhdgBTIYbCvY=; b=RBSRJ5qnnom1GNOVi0jYfBCuxxBCirP26Rt/Os42Y6RhNRZXORbOTW80OKcjkKsm2t RGekrSXMHeK26eOuZ7r7PssVdqM1rG4SaDVyCP7mbePzc6yzMklBhGrjcSHfII39Nea4 Dfdx3RpBEU11/BvKiWOyKFQ7UCc4tAv2zKtmnrRVWtpcxKJbgy4iCX+jN1+NzAq1Sm6L 59d0myTqCA8n3Z1ywmPjbkzW92p/8vLumz6x/u0puBVhr5j4giXXgIxZBuapakgfnvSy 7jV35G+aAonCBe5nKfN/oVYmNOzQnbgRSxKxfoJfYEYLZbiJVUZfGF7gYbkFQB1Hdlrg 8UlQ== X-Gm-Message-State: AGi0PuZ+LwaOlcQ4NHdI9K/tC78D4kVUnwL3fWTinQLd7VH8VkJGef+J V5a7GA7dnw2LfQS3zYig6/ndPw== X-Google-Smtp-Source: APiQypJHtKHCPhkSK5TO6wa+IvZfdz4WkKAze9q1aB256pHsfLzhf5c01TqMeRxOhNxoI7RQk+FfTg== X-Received: by 2002:a17:902:bd81:: with SMTP id q1mr23737306pls.46.1589349455552; Tue, 12 May 2020 22:57:35 -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 w192sm14131161pff.126.2020.05.12.22.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 22:57:34 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Ohad Ben-Cohen , Rob Herring Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd Subject: [PATCH v5 5/5] arm64: dts: qcom: sdm845: Add IMEM and PIL info region Date: Tue, 12 May 2020 22:56:41 -0700 Message-Id: <20200513055641.1413100-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513055641.1413100-1-bjorn.andersson@linaro.org> References: <20200513055641.1413100-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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 Signed-off-by: Bjorn Andersson --- Changes since v4: - imem is no longer compatible with "syscon" arch/arm64/boot/dts/qcom/sdm845.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 7cce6f1b7c9e..1abbbe7a43a0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3716,6 +3716,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>;