From patchwork Fri Dec 27 05:32:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 182479 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp2565692ild; Thu, 26 Dec 2019 21:33:22 -0800 (PST) X-Google-Smtp-Source: APXvYqwY4Z2Bg27qGbaQaIBaP1YawNoa0h1lZQnNZVDSSl1nAUd2/o1JAFVT8eYTRNo7OS+ZdhKw X-Received: by 2002:a05:6830:3001:: with SMTP id a1mr43193882otn.254.1577424802823; Thu, 26 Dec 2019 21:33:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577424802; cv=none; d=google.com; s=arc-20160816; b=Z8EHVy/IM7snhwJpvwBJ3RxiX+j53TZuLIFyWYuzt1tIPI+FfB8ytePpQBcbVR9S31 TF8BnoGueXe+fiCne3iybFJSvEaYM+2jBl5B0pdoSpRszYvxf5ZqezsaFWpkSZmFbyqf IQm+D8E/YnOhTs3rjg68DSEfTqYebp9v49zVx3LPRkbv5zPQlx9C5B1F84baS/YOG+bb ief+SlgZ9fjYKZHQBm48X/12MwjuMn3CLoKUqu04MS3lGCahK9ml6ZtEpc9UVI2EWCJ3 qvtNcXukWjIlQbtCK82GaefVjE6V586RzjOHVkzH+h6rpUKXgXUzabj/gwL0jPVd3q3+ xUVA== 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=1I6rPruw7MJKOaeZo3Qo45SuClRViIUj/poNzJMdGTo=; b=TMPhzoy/rK5AJ6QovF3KGXGumSOYOwqMTc8F+CRcumvdwv0js2qqMybO1jvxZnzWpa 0sLASIbjTS458KLS4HfbUw6QzK+HNw9ZCn9yiM4gAdIH90+LptxmDPURCs5283sYV8tT tFEEwviBVZYOVmCLQgneIBp/BddAMjpbYB+ow/1s39dr0IwWq8A3+R3gc1QidFsnOkBM hWOyA9IDc3vuARDTrQLlNdE4vPIeC14rwxwu0R+KoCwxKM9ArXdJXFMtllL6dQkSpSdU adn1Ep2qWJUaXb3twUd4w8l9Mw3JM57ABM2juZQflDigXR8lQIeoE3O2opFtZ/JG0aa5 rp5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OJSuUHNr; 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 11si14761980otu.301.2019.12.26.21.33.22; Thu, 26 Dec 2019 21:33:22 -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=OJSuUHNr; 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 S1727257AbfL0FdV (ORCPT + 27 others); Fri, 27 Dec 2019 00:33:21 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38786 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726857AbfL0Fc4 (ORCPT ); Fri, 27 Dec 2019 00:32:56 -0500 Received: by mail-pf1-f194.google.com with SMTP id x185so14230107pfc.5 for ; Thu, 26 Dec 2019 21:32:56 -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=1I6rPruw7MJKOaeZo3Qo45SuClRViIUj/poNzJMdGTo=; b=OJSuUHNrddt6e40HHC82STYYK5Fw3NtsBidIhnm+7rvbABpYNWx5j3qcKIbjxKn/CX Yccavw/9H02QW+qQi7SdY9yihm3kxLqCAAnJ7d8/SXZ4O3iXxXxHZXnO6nDtIqxKoebn 1pIX4jNEbEtYFjglqefMXJ/1q2TdJH43Ro+5CSygyYcHtxO1Lfwtn0wm+GlSZN2UR+yp Q2IMR21TVO+tRWNn1HY5Bp7FzBjeBBaXGvveU0UKqvZxRNrl8MyHWWLgh3XomOdAyxa0 ipoir+/A89PL6CvmrHf+2AXIuTo/p0UaCeZAW1TFj05E7QK68xvhpTL9w67VLpDS5J62 2uDg== 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=1I6rPruw7MJKOaeZo3Qo45SuClRViIUj/poNzJMdGTo=; b=tyjIoOl7foqJj0CDTW/RWFN5lle+ej0+6NkkI5vcVdLv1iDcpL1TuedPDTpThpTHLQ oaSwQfyAFhhiq3PovNIGP3NXzivLQjASQK6mMqX67/fXpSkXVeuQzatsIKdF1P9iJugb Bq4dAYDDj7t53k6spzN6K26rVQ46JIdV7eNbL3cWkhGNCw46bV37z4JgiU1zTru56PxL oPBTx1iX4MKomhNtwhSRoNr3lzkzrgJ8JLfCWBj4SKWu/DZfqxXqL1+VzI2ibXTVEgjQ 1KlCa37phcBvEu97+9vnvqZCcKu4nT4GokG3tJJJvzqylHgmo+Y1jnF+dNyPsKfqBchR eEbw== X-Gm-Message-State: APjAAAVoVdQfUWfftjF78KZKT4NYU2DDLXz9fTIgMo5z6ZPnbF+fDIi/ RDGc5dvUNeAvYVDdksO6EKhOWQ== X-Received: by 2002:a65:530d:: with SMTP id m13mr52900616pgq.351.1577424776207; Thu, 26 Dec 2019 21:32:56 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 21:32:55 -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 4/8] arm64: dts: qcom: qcs404: Add IMEM and PIL info region Date: Thu, 26 Dec 2019 21:32:11 -0800 Message-Id: <20191227053215.423811-5-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 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 --- Changes since v1: - None arch/arm64/boot/dts/qcom/qcs404.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.24.0 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index f5f0c4c9cb16..9d2a2b1c64dd 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -890,6 +890,16 @@ blsp2_spi0: spi@7af5000 { 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;