From patchwork Wed Aug 7 05:39:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 170709 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp6660681ile; Tue, 6 Aug 2019 22:40:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwD7a3r4mrtioAsj2cfvYNUzO6+B7wTLJE3aK6sIE1UcybzSi4bZuP88eSLlF27gsoR4uS9 X-Received: by 2002:a17:90a:cf0d:: with SMTP id h13mr6651746pju.63.1565156410938; Tue, 06 Aug 2019 22:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565156410; cv=none; d=google.com; s=arc-20160816; b=iRHpv9AH0YW2Kd5Xb418mvpr9WjTCfXpUz+iOFwEYovYnFUzcyVQSiDnjEMuVQger4 PHp35n1Yy0HxNq7lUdgkz9EmyzL9q+MSJ3it5hXEE9+iap2RAPRNXfmcnucPov5ezG3f L/Tz9aV6/XBGb9kB/Rp53DsDqKjDP8gpVrq/3Opk5A/Qk+vYpnw7RbVhaRx9e3i31rrq M/y+vgpIeIzaSJP5ANnOG5FqZ2sauZrPriICy/YS9/6QIsytTsOgJGCCZ6JAcL5OkM/x RXbFzeUsK2oKwblNNJYAgAw0vn/cJbc4vVktetqYBk7/to30PSzog5jU36QF2W31d3fA xtkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=LuR1ky4R+W8DnJlClr7ItKCcIJSpq5BHTgJG+rP0wz4=; b=IGkERHzYwqofdyc+eDLiZPXMQT4DPTp6g6NVWgLFaS8fREL2IPcWZn8HQ7MrlHE8Ez Q/VuJgD6jsILgfmaMoGVOhaFnhFUOA5E8irErlUjhL4h7eS7RkzJ9PgReCrEDjLxYx+/ 0fRevcrZUkUCY++S21hai/VyubLcrWQbP6t9aK6ggGT1D7SmAIy6068rWX6/yc9+lCuo EVM7ybOtQleH4UzOKD1pVMop1F18RhIx1Yz/oy/DGjm3oQgTcOJ/TQ9+Nz4yQFNvIXY3 hN3ko+5s19dTXNWbsWgEtODL+YG0ypf4kH7GliPPfrME5/iXzG4Yq9cBEmB1iIY4z/dv rqag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BN1iYmX3; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id u91si26275814plb.243.2019.08.06.22.40.10; Tue, 06 Aug 2019 22:40:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=BN1iYmX3; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 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 S1727182AbfHGFjx (ORCPT + 16 others); Wed, 7 Aug 2019 01:39:53 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43384 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727179AbfHGFjw (ORCPT ); Wed, 7 Aug 2019 01:39:52 -0400 Received: by mail-pl1-f194.google.com with SMTP id 4so31939678pld.10 for ; Tue, 06 Aug 2019 22:39:52 -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; bh=LuR1ky4R+W8DnJlClr7ItKCcIJSpq5BHTgJG+rP0wz4=; b=BN1iYmX3VS7iNjW36GRLTazm6lrD0RRsFwt3TRZMMqbhiC7X6+9Uzi4RYwPKB60hQn 4nS2QQ4CVKBocbEcvJEM7OOGQcV7THez5IHf0FQiGx7UInJSEoH3dELsSjvHwx0Jg2JJ eJgm6W9JJfX0M5zOEKyX3dQj5qdXRl6ruoNTm2zdwPcLNEq4xOoe7o3FKadQa8TJZRHv dFFgTWSlwiRuxq20DKWLdBaPUkkHgfoyJrhSienE5+enZLqZzBFOdQGx/z7+54x9dfFP llaWNYh0YsFjxuK9DISr6aso0211Ps+SesAbVPKLemIq78WkV4K1X++La0IY9sSuR84O QkSA== 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; bh=LuR1ky4R+W8DnJlClr7ItKCcIJSpq5BHTgJG+rP0wz4=; b=M9LuN9VFT+jj4/9JPWfxL/MuCdVgnlyZuBrESgMuXmpXhYLXaMwebPFX/15L+RVZze vccGvIfTn3OI/pwHPZKE8N1/JBhUbEoenDl73JRH31yAdJK3lUgW/jbOhxJCVsayz/GL Uq0aQULq5MQXb4IkqJSDW6kK16N5vQgDQVh3+W85e9XDVgcUpmjXAhL+sbbfesRqvE+s lTkP0cXF5ToDesDOO0bYs2t84sRwQvzdBqvwOzwWOYNhU744di3GVmuN9tkSWBdbqGz1 qZlgnfTBMMSuSsZJ8t0xqlnvGZkQSqxUsSBbe0OVZUe2z47dgl2LomJRNVG1CEkaky6f eE0g== X-Gm-Message-State: APjAAAWK4oho0yO04H7rvLKW0X1dJ6qXd0uXrqiE9/KolXF3L1Qyl5eh XoRDSHisQ0is2R2M2angw5OiYS5jIDI= X-Received: by 2002:a17:902:7612:: with SMTP id k18mr6498473pll.48.1565156391829; Tue, 06 Aug 2019 22:39:51 -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 u7sm86070777pfm.96.2019.08.06.22.39.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Aug 2019 22:39:51 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: Ohad Ben-Cohen , Sibi Sankar , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: [PATCH 5/9] arm64: dts: qcom: qcs404: Add IMEM and PIL info region Date: Tue, 6 Aug 2019 22:39:38 -0700 Message-Id: <20190807053942.9836-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190807053942.9836-1-bjorn.andersson@linaro.org> References: <20190807053942.9836-1-bjorn.andersson@linaro.org> 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 QCS404 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 --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 3d0789775009..1604a9697832 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -845,6 +845,16 @@ status = "disabled"; }; + imem@8600000 { + compatible = "syscon", "simple-mfd"; + reg = <0x08600000 0x1000>; + + pil-reloc { + compatible ="qcom,pil-reloc-info"; + offset = <0x94c>; + }; + }; + intc: interrupt-controller@b000000 { compatible = "qcom,msm-qgic2"; interrupt-controller;