From patchwork Fri Dec 27 05:32:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 182478 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp2565618ild; Thu, 26 Dec 2019 21:33:17 -0800 (PST) X-Google-Smtp-Source: APXvYqywVclNuD9c+iVh1RdOI2/dD8Eg1fJkclvGNXE22YzPEBlaZTNKHQMLmkfZVco8yzmybQNS X-Received: by 2002:a9d:7590:: with SMTP id s16mr51527450otk.89.1577424796932; Thu, 26 Dec 2019 21:33:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577424796; cv=none; d=google.com; s=arc-20160816; b=t1F9eBvl5uo/TCDvDJ86gd5dEemMEvxFt/HgNMkcQVZHDiN5d8BiWOIe9usvzge0mp ljja8SwHSRG1RoFVGUk/EH4JMrxyaAor0cz7QYxxn9e9aFs6Yc9GUjjesTvsgaf4Gml6 qBjlPAAkwcjQtyuzmwKPti8f8QRhdwEwJEVzXaQbujcn4XJeU8QcYpTJ7KRuWfqt6kIi y+G+ID57YZuLCiZ9ywBiPWg/LSv7G3fZhPf+wH63RSv1IxLDjDq3pj8reS3vdDhHAThw sezDGaWvVAizGfsU5CxVh6PAh3zCZJ2iTUyoXqZfDttha988deMROwuNKvqTNsguXRdP NpBw== 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=CACSvkGQXTdbudbrDCr3GVf27K5HI0XInZ9uwni3MXE=; b=KQtM5Bqq7uwqZUjoNy/v9HNeKv4t5acgxReOsMjCxbIDvtwQtJUaUHwdz+8m7mZ6Cu SCcfOUF0ALyx7F/CIo84JgTfoJ+AHmJvkQm9GFCpllkNFk1gmJ2bfE18Zkd4tFxjxQel KNPrqwA3YUBhEznSPkBJwdztfmv6ttYnc0Z2yqAnMSlRjIgyQ74pH9r4v4kA51PMxwDn blYVTL4h5UUv5jrhGVqU+AOQtNEAldO4f/JHPqxt8ZmkJhfBJqzdS13C5ZIfhNuMp8Ls 6yNfdSa47XYvayC9QoqzZoDfBpfzHOae75pYv5dXz6JlgNCrcCmjJRXZxhc48qD4KRXm xcaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ylrRXdCY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id t2si12477477otq.196.2019.12.26.21.33.16; Thu, 26 Dec 2019 21:33:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ylrRXdCY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727230AbfL0FdP (ORCPT + 27 others); Fri, 27 Dec 2019 00:33:15 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:46420 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727060AbfL0Fc6 (ORCPT ); Fri, 27 Dec 2019 00:32:58 -0500 Received: by mail-pl1-f196.google.com with SMTP id y8so11287714pll.13 for ; Thu, 26 Dec 2019 21:32:57 -0800 (PST) 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=CACSvkGQXTdbudbrDCr3GVf27K5HI0XInZ9uwni3MXE=; b=ylrRXdCYJxPFdRcRwT43YU9htEJXb3RZq6jzea19OthZoBfBd4m9/gGbj4femDTUv9 KuHvQ1v0+LGkzmPlgXvWU7wHnTpPl0y44bxs+RtiWMm9fZ1ZzxaCPIC+3ueLS5NsksXo lExY7XfeYQ1d4pHEXWPRCzBhgaFLJ0FYq/24nd33ipvfzcmOmxessAFWP8ki5PzrQi+z wvJ8T//luOhE3WHswVoW8CxcF3xrwCvJRWWm5/6FwIdkW4qzkPTNIZm/IOoAu0ll8/4F CNZprkIcdhzbDBj0VccAJpBfZc/0WSl0tCd5Jnp9ljcIrqoX7W0Ujo+pL3dADh5IOv0M gfew== 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=CACSvkGQXTdbudbrDCr3GVf27K5HI0XInZ9uwni3MXE=; b=SgNgKuPqvsUpXxHKLUvavp9dYgSHHUG9iRKxMGbP8MUWRzK+xHdrwZIXfV3oOF67gP YYPbR/9+OP7f1HVNSUAIEPBhINBVDVte2awdNYh7WXHSg6qaRn3yfwEDfmhPUePJo5r7 c9GrMvTpmGI3O5TkFuYFa8f8LvEG81M8SBYt6xopDTiMPOtIc0vn73i3hKzPhsErfs0V +xKih+fADSSppalOG3cmLgSL6tevTl/1TKL/xm/nh8NsiTIyKuxumRYDjxn8nB2H8CGD sKlJuHhr9foFanhiXMdFe692+IzNi+2+aIjGRH5PTTGT1q7yeExN79655YHyOQ60oglE SDvA== X-Gm-Message-State: APjAAAVtU5dK6u/GVsht8cGHYkPE/yG8UjkvSW7dWNnXcYPEGtUVx+i9 eY14uJ6+TN6LyACcv4xTunw6JA== X-Received: by 2002:a17:90a:8912:: with SMTP id u18mr23852528pjn.64.1577424777538; Thu, 26 Dec 2019 21:32:57 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id c22sm16789196pfo.50.2019.12.26.21.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 21:32:56 -0800 (PST) From: Bjorn Andersson To: Rob Herring , Mark Rutland , Ohad Ben-Cohen Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Sibi Sankar , Rishabh Bhatnagar Subject: [PATCH v2 5/8] arm64: dts: qcom: sdm845: Add IMEM and PIL info region Date: Thu, 26 Dec 2019 21:32:12 -0800 Message-Id: <20191227053215.423811-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191227053215.423811-1-bjorn.andersson@linaro.org> References: <20191227053215.423811-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Signed-off-by: Bjorn Andersson --- Changes since v1: - None arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.24.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 407d26e92fcc..e1e13d5bfeb3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3020,6 +3020,16 @@ spmi_bus: spmi@c440000 { cell-index = <0>; }; + imem@146bf000 { + compatible = "syscon", "simple-mfd"; + reg = <0 0x146bf000 0 0x1000>; + + pil-reloc { + compatible ="qcom,pil-reloc-info"; + offset = <0x94c>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sdm845-smmu-500", "arm,mmu-500"; reg = <0 0x15000000 0 0x80000>;