Browse Source

HACK: dt-bindings: misc: Add ti,dma_buf_phys binding doc

Driver allowing user-space attaching of DMA-BUFs returning CPU physical
addresses. The reasoning for making this act like a regular device
described by DT is so the virtual device that binds the buffer can be
made to act as if it is out on a bus or behind an IOMMU, for example.

Add this binding here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Andrew F. Davis 6 years ago
parent
commit
55eaa0cee8
1 changed files with 17 additions and 0 deletions
  1. 17 0
      Documentation/devicetree/bindings/misc/ti,dma_buf_phys.txt

+ 17 - 0
Documentation/devicetree/bindings/misc/ti,dma_buf_phys.txt

@@ -0,0 +1,17 @@
+DMA-BUF contiguous buffer physical address user-space exporter binding
+
+Driver allowing user-space attaching of DMA-BUFs returning CPU physical
+addresses. The reasoning for making this act like a regular device
+described by DT is so the virtual device that binds the buffer can be
+made to act as if it is out on a bus or behind an IOMMU, for example.
+
+Required Properties:
+ - compatible:		Must be "ti,dma_buf_phys"
+
+Example:
+
+dma_buf_phys {
+	compatible = "ti,dma_buf_phys";
+	iommus = <&some_iommu>;
+	dma-coherent;
+};