From patchwork Fri Jul 28 23:19:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 9869645 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 4B16E60382 for ; Fri, 28 Jul 2017 23:21:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 253CB28879 for ; Fri, 28 Jul 2017 23:21:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E9F928928; Fri, 28 Jul 2017 23:21:07 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5150B2891F for ; Fri, 28 Jul 2017 23:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4+H+9A4VxVZDhI8HyMKfqUsWvX6a4W+iNoU3a8KgdDw=; b=rLAtCdVpBkMma0 V005TOiD9eJzkr75cXHl7Kw5hfnw3l7suvXxnAcEZOg+TN9+CSo6blSoUPQZKNzT+ksyd602aAs0Z L3T1GPnntW707upWFm6VCGB+MxY1WbIu5vRhLUPfH20c+A++cqCjWLNLwJFD1Y1y7YmNyJqfM3yeC g32KJw0gp3nZ3BNGuYtaIzr1LcmBmQmWAXuNgoW5PAdtqHQZAsQ26CX7As6WsRuvxY9TyhLHMU7W2 eVNIfVSbWNDO5JEXFr6PB+a95thQ1LCt9vgF4gXYm06yF3+7hL8sZhwRqrQ0QSXM815KFLP3AgQfg 13uD9hic/Y5ucNWcQ1zw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dbEYn-0007kD-Qm; Fri, 28 Jul 2017 23:20:45 +0000 Received: from fllnx210.ext.ti.com ([198.47.19.17]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dbEXp-0005jM-C8 for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2017 23:19:47 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v6SNJMOu010104; Fri, 28 Jul 2017 18:19:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1501283962; bh=jzH9lp6pVQI2e10dOtoAfL+tFTSCPLAYWslyVba00h8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WxG3i2T6c7143yCirQd+xcMYsJs3to7czG1TRTi8dxc05c1cJ/a609bOEgy1ML+zR 1kEzhLvDGfrZdcFJupk9BLYrHsck+dUwqXjwJugCGvAuCuhyvQpUPSAKIytHrOupO7 UG5zIdCAzp1mJrk2fFPC8SHekZxs5daa7tiRUGMw= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v6SNJMXI031711; Fri, 28 Jul 2017 18:19:22 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 28 Jul 2017 18:19:21 -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 v6SNJLMH022339; Fri, 28 Jul 2017 18:19:21 -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 v6SNJL311369; Fri, 28 Jul 2017 18:19:21 -0500 (CDT) From: Suman Anna To: Santosh Shilimkar Subject: [PATCH 6/6] ARM: dts: keystone-k2e-evm: Add and enable DSP CMA memory pool Date: Fri, 28 Jul 2017 18:19:18 -0500 Message-ID: <20170728231918.16778-7-s-anna@ti.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170728231918.16778-1-s-anna@ti.com> References: <20170728231918.16778-1-s-anna@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170728_161945_517880_C7BB4EC6 X-CRM114-Status: UNSURE ( 6.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "Andrew F. Davis" , linux-arm-kernel@lists.infradead.org, Sam Nelson 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 From: Sam Nelson A CMA memory pool reserved memory node is added, and is attached to the DSP node through the 'memory-region' property on the K2E EVM board. This area will be used for allocating virtio rings and buffers. This node allows the DSP Memory Protection and Address Extension (MPAX) module to be configured properly for the DSP processor, and matches the values used on the other Keystone 2 boards for software compatibility. The reserved memory node and the user DSP node are also marked okay to enable the DSP on the 66AK2E EVM board. Signed-off-by: Sam Nelson Signed-off-by: Suman Anna --- arch/arm/boot/dts/keystone-k2e-evm.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/keystone-k2e-evm.dts b/arch/arm/boot/dts/keystone-k2e-evm.dts index ae1ebe7ee021..f1f32c54e72f 100644 --- a/arch/arm/boot/dts/keystone-k2e-evm.dts +++ b/arch/arm/boot/dts/keystone-k2e-evm.dts @@ -16,6 +16,19 @@ compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone"; model = "Texas Instruments Keystone 2 Edison EVM"; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + dsp_common_memory: dsp-common-memory@81f800000 { + compatible = "shared-dma-pool"; + reg = <0x00000008 0x1f800000 0x00000000 0x800000>; + reusable; + status = "okay"; + }; + }; + soc { clocks { @@ -160,3 +173,8 @@ reg = <1>; }; }; + +&dsp0 { + memory-region = <&dsp_common_memory>; + status = "okay"; +};