Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1242043

[PATCH 3/3] arm64: dts: Add dts files to enable ION on Hi6220 SoC.

From Chen Feng <puck.chen@hisilicon.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] arm64: dts: Add dts files to enable ION on Hi6220 SoC.
Date 2015-10-08 10:20 +0200
Message-ID <qheAH-6eu-27@gated-at.bofh.it> (permalink)
References <qheAF-6eu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add ION node to enable ION on hi6220 SoC platform

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Yu Dongbin <yudongbin@hisilicon.com>
---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts |  1 +
 arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi  | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index e36a539..44b75d2 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -11,6 +11,7 @@
 /memreserve/ 0x05e00000 0x00100000;
 
 #include "hi6220.dtsi"
+#include "hi6220-ion.dtsi"
 
 / {
 	model = "HiKey Development Board";
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi
new file mode 100644
index 0000000..24d3722
--- /dev/null
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi
@@ -0,0 +1,23 @@
+/ {
+	hi6220-ion {
+		compatible = "hisilicon,hi6220-ion";
+
+		heap_sys_user@0 {
+			heap-name = "sys_user";
+			heap-id   = <0x0>;
+			heap-base = <0x0>;
+			heap-size = <0x0>;
+			heap-type = "ion_system";
+		};
+
+		heap_sys_contig@0 {
+			heap-name = "sys_contig";
+			heap-id   = <0x1>;
+			heap-base = <0x0>;
+			heap-size = <0x0>;
+			heap-type = "ion_system_contig";
+		};
+	};
+
+};
+
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] docs: dts: Add documentation for hi6220 SoC ION node Chen Feng <puck.chen@hisilicon.com> - 2015-10-08 10:20 +0200
  [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC platform Chen Feng <puck.chen@hisilicon.com> - 2015-10-08 10:20 +0200
    Re: [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC  platform Greg KH <gregkh@linuxfoundation.org> - 2015-10-08 11:40 +0200
    Re: [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC  platform Dan Carpenter <dan.carpenter@oracle.com> - 2015-10-09 11:00 +0200
      Re: [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC  platform Dan Carpenter <dan.carpenter@oracle.com> - 2015-10-09 11:00 +0200
        Re: [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC  platform chenfeng <puck.chen@hisilicon.com> - 2015-10-10 08:20 +0200
    Re: [PATCH 2/3] staging: android: ion: Add ion driver for Hi6220 SoC  platform xuyiping <xuyiping@hisilicon.com> - 2015-10-09 11:20 +0200
  [PATCH 3/3] arm64: dts: Add dts files to enable ION on Hi6220 SoC. Chen Feng <puck.chen@hisilicon.com> - 2015-10-08 10:20 +0200

csiph-web