From patchwork Tue Sep 19 00:28:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 112952 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4292494qgf; Mon, 18 Sep 2017 17:29:08 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBTDMQSf7APz/iGbBszUkWCm96RPGhDgyqL1sYQETrGeBY87dsHfj6ysFwd5D7drOiLMkin X-Received: by 10.99.53.3 with SMTP id c3mr342620pga.220.1505780948647; Mon, 18 Sep 2017 17:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505780948; cv=none; d=google.com; s=arc-20160816; b=mmgoL3arHOgH4S684qFoPl1yKLU2j8zp3wBxKOolcmzwBtymdBwsgtvejwDnBqBAmV dbO00GTyaQVNHBOMorUuA4517SHXVQsBcQsAMKZX/OTlIi1Sdd7vHCKJqTdE4ycEiRYk NgttzLbxGp4Vda2OY/4QMSYFk0PSxi3KE486mGpJtL2dwyunzQDw32o/TUXMs2Ls6HgA S809id+iqbuJRNoffCmpoK0t++dY2nSjbVPMLs7Gqel8KnqhtnJg450W1xMGs/TSoOnH fF2ap/i2/w1FszCUFM9GppfLIIL6sQvAHbcftf1t6bxVeFD5E+7SQICkDeZeEzhZlMwC aIog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=yLcc4hBvosMfoT45fFWLeaEWTXsJpM314VEgOIswI1M=; b=lGQFz/dXw+ewiCQivNY02K6V7ISXRUAfhbWU0GIy5hEqCxhdWRljSgyPUUJSA/XFou Y14NSgbzeM/lT+i5StAmbY4v5FBGBGH9YGUtPgbaNzxQ+V8bMUY7x2EMYriCdWq69YeU CzvoxzdeN/2ErF5UUNyXRsGJ1riHzfxYcY8fJMd3GqbavTfI5GhZCMz/VLllfxuAgVMH anELqvgY1dZSaJSaQGD10mWYlxWiDod05zgWfy1xcTF7vUenVpXrzRMGCb9tZQTg6BxL lhG62dnhkk1JK5b/h7r9pnVkVNMkbRL7GJ2S29vT1z2yWhZ5ELvol22odcddiP4SsgXT YM4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LF4t67GF; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f25si428843pgn.358.2017.09.18.17.29.08; Mon, 18 Sep 2017 17:29:08 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=LF4t67GF; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751411AbdISA3F (ORCPT + 26 others); Mon, 18 Sep 2017 20:29:05 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:29348 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791AbdISA3B (ORCPT ); Mon, 18 Sep 2017 20:29:01 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8J0SZw2026530; Mon, 18 Sep 2017 19:28:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1505780915; bh=2RzJwAWEC4WyAK9dIrYqWzzodkLngQBYLMmPOuD5h0c=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LF4t67GFzmwGIWzojJWYvD+3+tATmx94iRolxkQiZdmnSHCPuZeGSLCv0sFKjjzw7 EQ2BMb63moB0ouYRLIXStrpjJgtLieft9L0DszD8v809qpDvmjZyI1TWOOx+ZUqOeC yEWL/NcIBytQWQwyhtaXZptYKXqvaBce6HC2BQ70= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8J0SZ9l015194; Mon, 18 Sep 2017 19:28:35 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 18 Sep 2017 19:28:35 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Mon, 18 Sep 2017 19:28:35 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8J0SZO0032486; Mon, 18 Sep 2017 19:28:35 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v8J0SZ329426; Mon, 18 Sep 2017 19:28:35 -0500 (CDT) From: Suman Anna To: Sekhar Nori , Kevin Hilman CC: , , , Suman Anna Subject: [PATCH 2/3] ARM: dts: da850-lcdk: Add and enable CMA reserved pool for DSP Date: Mon, 18 Sep 2017 19:28:32 -0500 Message-ID: <20170919002833.5677-3-s-anna@ti.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170919002833.5677-1-s-anna@ti.com> References: <20170919002833.5677-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A CMA reserved memory node of 16 MB has been added and assigned to the DSP remoteproc device on the OMAP-L138 LCDK board. The CMA starting address matches the values used within the TI IPC 3.x software. Both the CMA node and the corresponding rproc node are also marked okay to enable the DSP on the OMAP-L138 LCDK board. Signed-off-by: Suman Anna --- arch/arm/boot/dts/da850-lcdk.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.13.1 diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index a0f0916156e6..eed89e659143 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -26,6 +26,19 @@ reg = <0xc0000000 0x08000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + dsp_memory_region: dsp-memory@c3000000 { + compatible = "shared-dma-pool"; + reg = <0xc3000000 0x1000000>; + reusable; + status = "okay"; + }; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,name = "DA850/OMAP-L138 LCDK"; @@ -319,3 +332,8 @@ pinctrl-0 = <&vpif_capture_pins>; status = "okay"; }; + +&dsp { + memory-region = <&dsp_memory_region>; + status = "okay"; +};