From patchwork Tue Feb 11 00:50:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11374423 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 A31BA921 for ; Tue, 11 Feb 2020 00:52:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 83F5520870 for ; Tue, 11 Feb 2020 00:52:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="x8yLEeAJ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727594AbgBKAwP (ORCPT ); Mon, 10 Feb 2020 19:52:15 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:56308 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727697AbgBKAwP (ORCPT ); Mon, 10 Feb 2020 19:52:15 -0500 Received: by mail-pj1-f65.google.com with SMTP id d5so522836pjz.5 for ; Mon, 10 Feb 2020 16:52:14 -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=usB5IoDyLwWY36+AuSkvkbrGcg49AWldfTwBCrrtmpU=; b=x8yLEeAJm5pg44gCh19Xinxc52LnzVmwZBRkJFm2t+blF3Kx8ux8OLeeQTKtqyZJh7 v43NbY/nF8f4JoFBX+I+mlu8+VJnZem3CbyjRUNAJpJecBPJXslIhd5FHYtVk5Hmkt2J e01TAgFVetot9Jeq4x2df5WUV5Jv4S8cBsHbPCKxrio8pvWw1vFrD6DLB2Mwk57nmry1 AaMId8w0OC3YuuzcHw5wo4C0BCABvmzadCE98WJ4GoVysMT+pRKhL1slWvJzduJpnrVL 82tyDGYgnXlUv7I5Jsorp7bwjFlD58W8D8tcrpiQ+7/t3/G7V+fIH9IN2UNgUCRQxmdB 5FQQ== 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=usB5IoDyLwWY36+AuSkvkbrGcg49AWldfTwBCrrtmpU=; b=SHWhWsCgEV6Uu2fC1mDcba8gpy2FhWV9n+P6NvwZguZg1b9S5p04DtbIp0AB05Haoc l3ISTrSzFc6RKO3SwaLg2M18ufpqUHa4cDD62XCTqPRP9GGtOZBOx/Yq2iTpSVK9+gUP 8ONS+H70BU4+5ntE91MKfcRaNueFpqGJfgHjyKaWUb0sBIpVwSSpKiCbiyEsoIgz9EMu N2O8CbEpo9GBzuNU96Zadj1Ns58UaF8vRjxemFACDppt0mPInS1n+sLexkBl2TiRPnme 5GIvO7ZttDpG2B1iDT8ib13wNpXNgOPc5dTjbEbGe7+Ye1vTBRwUTetkWIcSQ7xF6snM 88lg== X-Gm-Message-State: APjAAAVv/pXI8Ya3EdSkxSwJiiMWvgAFAMmI2grF3IF1tD2WP+5Tinc4 C33ibzFUbL6tCQT+EuKOEgEzWg== X-Google-Smtp-Source: APXvYqzBLJhl4yfx6CRhp1php6TZrHLUEmZeDDuor9FiyoO4g8yRWY7V1J8l3ohfRc3nP4NIgJzOWQ== X-Received: by 2002:a17:90a:b010:: with SMTP id x16mr669765pjq.130.1581382334401; Mon, 10 Feb 2020 16:52:14 -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 q21sm1538480pff.105.2020.02.10.16.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2020 16:52:13 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Ohad Ben-Cohen Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar , Rishabh Bhatnagar Subject: [PATCH v3 4/8] arm64: dts: qcom: qcs404: Add IMEM and PIL info region Date: Mon, 10 Feb 2020 16:50:55 -0800 Message-Id: <20200211005059.1377279-5-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200211005059.1377279-1-bjorn.andersson@linaro.org> References: <20200211005059.1377279-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 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 v2: - Replace offset with reg arch/arm64/boot/dts/qcom/qcs404.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 4ee1e3d5f123..f539293b875c 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -997,6 +997,19 @@ blsp2_spi0: spi@7af5000 { status = "disabled"; }; + imem@8600000 { + compatible = "syscon", "simple-mfd"; + reg = <0x08600000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible ="qcom,pil-reloc-info"; + reg = <0x94c 200>; + }; + }; + intc: interrupt-controller@b000000 { compatible = "qcom,msm-qgic2"; interrupt-controller;