From patchwork Thu Oct 20 18:56:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarangdhar Joshi X-Patchwork-Id: 9387459 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9342260762 for ; Thu, 20 Oct 2016 18:58:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88D1A29C37 for ; Thu, 20 Oct 2016 18:58:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DADE29C40; Thu, 20 Oct 2016 18:58:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D12E529C3C for ; Thu, 20 Oct 2016 18:58:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxIWB-0002TY-M7; Thu, 20 Oct 2016 18:56:43 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bxIVy-0001yU-A5 for linux-arm-kernel@lists.infradead.org; Thu, 20 Oct 2016 18:56:31 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BAE6261AF5; Thu, 20 Oct 2016 18:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476989769; bh=GvzWZABHhnGIQLntLrk1VIILnHxFl46geNzUzs7nje8=; h=From:To:Cc:Subject:Date:From; b=DUF1TrcSk54ohtdN434c11MKEUc+RBEDPtqGLwRbn4VzToGQ1lVbQFQRcz+1pp8I1 SyQfPYKwiPSNRcYBXwmP1IPDIdTBn0fVTsLJCpssTlAN51g9LdhoDM47VGuqnbN2h4 eHVuSB1p3SQZ+aOoxlzAYBroy/KW46ooYx4MeO2c= Received: from spjoshi-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: spjoshi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B29586168F; Thu, 20 Oct 2016 18:56:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476989769; bh=GvzWZABHhnGIQLntLrk1VIILnHxFl46geNzUzs7nje8=; h=From:To:Cc:Subject:Date:From; b=DUF1TrcSk54ohtdN434c11MKEUc+RBEDPtqGLwRbn4VzToGQ1lVbQFQRcz+1pp8I1 SyQfPYKwiPSNRcYBXwmP1IPDIdTBn0fVTsLJCpssTlAN51g9LdhoDM47VGuqnbN2h4 eHVuSB1p3SQZ+aOoxlzAYBroy/KW46ooYx4MeO2c= DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org B29586168F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=spjoshi@codeaurora.org From: Sarangdhar Joshi To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Bjorn Andersson Subject: [PATCH 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node Date: Thu, 20 Oct 2016 11:56:02 -0700 Message-Id: <1476989765-7524-1-git-send-email-spjoshi@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161020_115630_467273_536D2606 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Trilok Soni , devicetree@vger.kernel.org, Sarangdhar Joshi , linux-arm-msm@vger.kernel.org, Stephen Boyd , linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add DT node to carveout memory for shared memory region. Signed-off-by: Sarangdhar Joshi Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index d6da223..36216ae 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -31,6 +31,17 @@ reg = <0 0 0 0>; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + smem_mem: smem-mem@86000000 { + reg = <0x0 0x86000000 0x0 0x200000>; + no-map; + }; + }; + cpus { #address-cells = <2>; #size-cells = <0>;