[PATCH] Add 'dma-noncoherent' property as a standard property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Similar to the 'dma-coherent' property, some architectures may be coherent
by default with some devices being non-coherent. Add a property for this
case tool.

Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
---
Companion patch to RISC-V Zicbom noncoherent dma support
https://lore.kernel.org/linux-riscv/20220619203212.3604485-1-heiko@xxxxxxxxx/

 source/chapter2-devicetree-basics.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/source/chapter2-devicetree-basics.rst b/source/chapter2-devicetree-basics.rst
index 47d2fad..bdd7b9f 100644
--- a/source/chapter2-devicetree-basics.rst
+++ b/source/chapter2-devicetree-basics.rst
@@ -832,6 +832,19 @@ Description:
    coherent DMA operations. Some architectures have coherent DMA by default
    and this property is not applicable.
 
+dma-noncoherent
+~~~~~~~~~~~~
+
+Property name: ``dma-noncoherent``
+
+Value type: ``<empty>``
+
+Description:
+   For architectures which are by default coherent for I/O, the
+   *dma-noncoherent* property is used to indicate a device is not capable of
+   coherent DMA operations. Some architectures have non-coherent DMA by
+   default and this property is not applicable.
+
 name (deprecated)
 ~~~~~~~~~~~~~~~~~
 
-- 
2.35.1




[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux