All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] Add 'dma-coherent' property as a standard property
Date: Wed,  4 Mar 2020 18:36:31 -0600	[thread overview]
Message-ID: <20200305003631.4121-1-robh@kernel.org> (raw)

The 'dma-coherent' property was added for architectures which by default
have non-coherent I/O (e.g. Arm) as a way to specify certain devices are
coherent. It's been in use since 2012.

Signed-off-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
---
 source/devicetree-basics.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/source/devicetree-basics.rst b/source/devicetree-basics.rst
index 8292a312ba5a..90d49a1835c7 100644
--- a/source/devicetree-basics.rst
+++ b/source/devicetree-basics.rst
@@ -804,6 +804,19 @@ Description:
      from the *#size-cells* of this node (the node in which the dma-ranges
      property appears).
 
+dma-coherent
+~~~~~~~~~~~~
+
+Property name: ``dma-coherent``
+
+Value type: ``<empty>``
+
+Description:
+   For architectures which are by default non-coherent for I/O, the
+   *dma-coherent* property is used to indicate a device is capable of
+   coherent DMA operations. Some architectures have coherent DMA by default
+   and this property is not applicable.
+
 name (deprecated)
 ~~~~~~~~~~~~~~~~~
 
-- 
2.20.1


                 reply	other threads:[~2020-03-05  0:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20200305003631.4121-1-robh@kernel.org \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.