Skip to contentSkip to conversation

Add 'dma-coherent' property as a standard property

PATCH New Rob Herring 1 participant 1 message Mar 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add 'dma-coherent' property as a standard property

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.

---
 source/devicetree-basics.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
source/devicetree-basics.rst +13 -0
index 8292a312ba5a..90d49a1835c7 100644
@@ -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)
 ~~~~~~~~~~~~~~~~~
 
Signature · 1 line
2.20.1