[PATCH v2 3/3] add STIH4xx ION driver in DT

From: Benjamin Gaignard
Date: Tue Nov 15 2016 - 06:18:46 EST


Very simple and limited to one heap for contiguous memory allocation

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxxxxxx>
---
arch/arm/boot/dts/stih407-family.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 91096a4..3654f8f 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -1007,4 +1007,12 @@
status = "disabled";
};
};
+
+ ion {
+ compatible = "st,sti-ion", "linux,ion";
+
+ ion-cma-heap {
+ compatible = "st,cma-heap", "linux,ion-heap-dma";
+ };
+ };
};
--
1.9.1