linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Gaignard <benjamin.gaignard@linaro.org>
To: labbott@redhat.com, sumit.semwal@linaro.org,
	gregkh@linuxfoundation.org, yudongbin@hisilicon.com,
	puck.chen@hisilicon.com, linux-kernel@vger.kernel.org
Cc: linaro-kernel@lists.linaro.org, kernel@stlinux.com,
	Benjamin Gaignard <benjamin.gaignard@linaro.org>
Subject: [PATCH v2 3/3] add STIH4xx ION driver in DT
Date: Tue, 15 Nov 2016 12:17:29 +0100	[thread overview]
Message-ID: <1479208649-23725-4-git-send-email-benjamin.gaignard@linaro.org> (raw)
In-Reply-To: <1479208649-23725-1-git-send-email-benjamin.gaignard@linaro.org>

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(+)

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

  parent reply	other threads:[~2016-11-15 11:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-15 11:17 [PATCH v2 0/3] add ION driver for STIh4xx SoC Benjamin Gaignard
2016-11-15 11:17 ` [PATCH v2 1/3] add binding for STIh4xx ION driver Benjamin Gaignard
2016-11-15 11:17 ` [PATCH v2 2/3] add STIH4xx " Benjamin Gaignard
2016-11-15 11:17 ` Benjamin Gaignard [this message]
2016-11-15 23:45 ` [PATCH v2 0/3] add ION driver for STIh4xx SoC Laura Abbott

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=1479208649-23725-4-git-send-email-benjamin.gaignard@linaro.org \
    --to=benjamin.gaignard@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel@stlinux.com \
    --cc=labbott@redhat.com \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=puck.chen@hisilicon.com \
    --cc=sumit.semwal@linaro.org \
    --cc=yudongbin@hisilicon.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).