Thread (11 messages) 11 messages, 3 authors, 2021-05-17

Re: [PATCH 1/5] dt-bindings: media: mtk-vcodec: Add dma-ranges property

From: Rob Herring <robh@kernel.org>
Date: 2021-02-10 22:56:15
Also in: linux-arm-kernel, linux-media, linux-mediatek, lkml

On Wed, Feb 03, 2021 at 04:37:48PM +0800, Irui Wang wrote:
quoted hunk ↗ jump to hunk
Adds dma-ranges property for DMA addresses translation.

Signed-off-by: Irui Wang <redacted>
---
 Documentation/devicetree/bindings/media/mediatek-vcodec.txt | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/mediatek-vcodec.txt b/Documentation/devicetree/bindings/media/mediatek-vcodec.txt
index f85276e629bf..e4644f8caee9 100644
--- a/Documentation/devicetree/bindings/media/mediatek-vcodec.txt
+++ b/Documentation/devicetree/bindings/media/mediatek-vcodec.txt
@@ -23,6 +23,8 @@ Required properties:
 - iommus : should point to the respective IOMMU block with master port as
   argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.txt
   for details.
+- dma-ranges : describes how the physical address space of the IOMMU maps
+  to memory.
dma-ranges is supposed to be in a bus/parent node.
 One of the two following nodes:
 - mediatek,vpu : the node of the video processor unit, if using VPU.
 - mediatek,scp : the node of the SCP unit, if using SCP.
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help