Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 803C8E008F5; Thu, 28 Jan 2016 13:20:57 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [198.47.26.152 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 92686E00852 for ; Thu, 28 Jan 2016 13:20:55 -0800 (PST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id u0SLKs9A009500 for ; Thu, 28 Jan 2016 15:20:54 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u0SLKshT017646 for ; Thu, 28 Jan 2016 15:20:54 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Thu, 28 Jan 2016 15:20:54 -0600 Received: from udd0866934.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u0SLKrBn004980; Thu, 28 Jan 2016 15:20:53 -0600 From: Jacob Stiffler To: Date: Thu, 28 Jan 2016 16:20:50 -0500 Message-ID: <1454016050-24525-1-git-send-email-j-stiffler@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH v2] linux: cmem: Update reserved CMEM regions X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 21:20:57 -0000 Content-Type: text/plain * dra7xx: - Increase DDR region required to pass OpenCL conformance - Add OCMC region * k2e-evm, k2l-evm: - Add reserved regions for these machines Signed-off-by: Jacob Stiffler --- v2 changes: * Add more details to the commit message recipes-kernel/linux/files/dra7xx/cmem.dtsi | 20 +++++++++++-- recipes-kernel/linux/files/k2e-evm/cmem.dtsi | 42 ++++++++++++++++++++++++++++ recipes-kernel/linux/files/k2l-evm/cmem.dtsi | 42 ++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+), 3 deletions(-) create mode 100644 recipes-kernel/linux/files/k2e-evm/cmem.dtsi create mode 100644 recipes-kernel/linux/files/k2l-evm/cmem.dtsi diff --git a/recipes-kernel/linux/files/dra7xx/cmem.dtsi b/recipes-kernel/linux/files/dra7xx/cmem.dtsi index d91faf9..c7781c4 100644 --- a/recipes-kernel/linux/files/dra7xx/cmem.dtsi +++ b/recipes-kernel/linux/files/dra7xx/cmem.dtsi @@ -1,10 +1,20 @@ / { reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + cmem_block_mem_0: cmem_block_mem@a0000000 { - reg = <0x0 0xa0000000 0x0 0x0a000000>; + reg = <0x0 0xa0000000 0x0 0x0c000000>; no-map; status = "okay"; }; + + cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 { + reg = <0x0 0x40500000 0x0 0x100000>; + no-map; + status = "okay"; + }; }; cmem { @@ -19,8 +29,12 @@ cmem_block_0: cmem_block@0 { reg = <0>; memory-region = <&cmem_block_mem_0>; - cmem-buf-pools = <1 0x0 0x0a000000>; + cmem-buf-pools = <1 0x0 0x0c000000>; }; - }; + cmem_block_1: cmem_block@1 { + reg = <1>; + memory-region = <&cmem_block_mem_1_ocmc3>; + }; + }; }; diff --git a/recipes-kernel/linux/files/k2e-evm/cmem.dtsi b/recipes-kernel/linux/files/k2e-evm/cmem.dtsi new file mode 100644 index 0000000..236b0ba --- /dev/null +++ b/recipes-kernel/linux/files/k2e-evm/cmem.dtsi @@ -0,0 +1,42 @@ +/ { + reserved-memory { + mpm_block_mem_0: mpm_block_mem@820000000 { + reg = <0x00000008 0x20000000 0x00000000 0x02000000>; + no-map; + status = "okay"; + }; + + cmem_block_mem_0: cmem_block_mem@829000000 { + reg = <0x00000008 0x22000000 0x00000000 0x1E000000>; + no-map; + status = "okay"; + }; + + cmem_block_mem_1: cmem_block_mem@00c100000 { + reg = <0x00000000 0x0c000000 0x00000000 0x00180000>; + no-map; + status = "okay"; + }; + }; + + cmem { + compatible = "ti,cmem"; + #address-cells = <1>; + #size-cells = <0>; + + #pool-size-cells = <2>; + + status = "okay"; + + cmem_block_0: cmem_block@0 { + reg = <0>; + memory-region = <&cmem_block_mem_0>; + cmem-buf-pools = <1 0x00000000 0x1E000000>; + }; + + cmem_block_1: cmem_block@1 { + reg = <1>; + memory-region = <&cmem_block_mem_1>; + }; + }; +}; diff --git a/recipes-kernel/linux/files/k2l-evm/cmem.dtsi b/recipes-kernel/linux/files/k2l-evm/cmem.dtsi new file mode 100644 index 0000000..236b0ba --- /dev/null +++ b/recipes-kernel/linux/files/k2l-evm/cmem.dtsi @@ -0,0 +1,42 @@ +/ { + reserved-memory { + mpm_block_mem_0: mpm_block_mem@820000000 { + reg = <0x00000008 0x20000000 0x00000000 0x02000000>; + no-map; + status = "okay"; + }; + + cmem_block_mem_0: cmem_block_mem@829000000 { + reg = <0x00000008 0x22000000 0x00000000 0x1E000000>; + no-map; + status = "okay"; + }; + + cmem_block_mem_1: cmem_block_mem@00c100000 { + reg = <0x00000000 0x0c000000 0x00000000 0x00180000>; + no-map; + status = "okay"; + }; + }; + + cmem { + compatible = "ti,cmem"; + #address-cells = <1>; + #size-cells = <0>; + + #pool-size-cells = <2>; + + status = "okay"; + + cmem_block_0: cmem_block@0 { + reg = <0>; + memory-region = <&cmem_block_mem_0>; + cmem-buf-pools = <1 0x00000000 0x1E000000>; + }; + + cmem_block_1: cmem_block@1 { + reg = <1>; + memory-region = <&cmem_block_mem_1>; + }; + }; +}; -- 1.9.1