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

Message ID 1479208649-23725-4-git-send-email-benjamin.gaignard@linaro.org
State New
Headers show

Commit Message

Benjamin Gaignard Nov. 15, 2016, 11:17 a.m.
Very simple and limited to one heap for contiguous memory allocation

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>

---
 arch/arm/boot/dts/stih407-family.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
1.9.1

Patch hide | download patch | download mbox

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";
+		};
+	};
 };