From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH] linux: cmem: Update reserved CMEM regions
Date: Thu, 28 Jan 2016 15:31:01 -0500 [thread overview]
Message-ID: <20160128203101.GI11314@edge> (raw)
In-Reply-To: <1454006836-7313-1-git-send-email-j-stiffler@ti.com>
Please briefly specify the reason for the change. Thanks.
On Thu, Jan 28, 2016 at 01:47:16PM -0500, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> 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
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
prev parent reply other threads:[~2016-01-28 20:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 18:47 [PATCH] linux: cmem: Update reserved CMEM regions Jacob Stiffler
2016-01-28 20:31 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160128203101.GI11314@edge \
--to=denys@ti.com \
--cc=j-stiffler@ti.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.