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 1/3] add binding for STIh4xx ION driver
Date: Tue, 15 Nov 2016 12:17:27 +0100	[thread overview]
Message-ID: <1479208649-23725-2-git-send-email-benjamin.gaignard@linaro.org> (raw)
In-Reply-To: <1479208649-23725-1-git-send-email-benjamin.gaignard@linaro.org>

Describe bindings for STIH4xx ION driver.
They are limited to have is used by ion_of.c

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
---
 .../devicetree/bindings/staging/ion/st,sti-ion.txt      | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt

diff --git a/Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt b/Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt
new file mode 100644
index 0000000..ec6dd9d
--- /dev/null
+++ b/Documentation/devicetree/bindings/staging/ion/st,sti-ion.txt
@@ -0,0 +1,17 @@
+STIH4xxSoC ION
+
+Required properties:
+- compatible: "st,sti-ion", "linux,ion"
+- list of ION heaps:
+	- compatible: "st,cma-heap", "linux,ion-heap-dma"
+
+heap bindings are defined in drivers/staging/android/ion/devicetree.txt
+
+Example:
+	ion {
+		compatible = "st,sti-ion", "linux,ion";
+
+		ion-cma-heap {
+			compatible = "st,cma-heap", "linux,ion-heap-dma";
+		};
+	};
-- 
1.9.1

  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 ` Benjamin Gaignard [this message]
2016-11-15 11:17 ` [PATCH v2 2/3] add STIH4xx ION driver Benjamin Gaignard
2016-11-15 11:17 ` [PATCH v2 3/3] add STIH4xx ION driver in DT Benjamin Gaignard
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-2-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).