Skip to content

Commit e494245

Browse files
YongWu-HFjoergroedel
authored andcommitted
dt-bindings: media: mediatek,vcodec: Remove dma-ranges property
After commit f1ad533 ("of: Fix "dma-ranges" handling for bus controllers"), the dma-ranges of the leaf node doesn't work. Remove it for vcodec here. For mediatek,vcodec-decoder.yaml and mediatek,vcodec-encoder.yaml, this property is in the leaf node, it is invalid as the above comment. Currently there is only mt8195 VENC node has this property in upstream. Indeed, VENC is affected, but it is not a fatal issue. Originally it expects its iova range locate at 4GB-8GB. However after that commit, its expectation doesn't come true, it will fall back to 0-4GB iova and also could work well. Cc: Tiffany Lin <tiffany.lin@mediatek.com> Cc: Andrew-CT Chen <andrew-ct.chen@mediatek.com> Cc: Yunfei Dong <yunfei.dong@mediatek.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Yong Wu <yong.wu@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Link: https://lore.kernel.org/r/20230411093144.2690-2-yong.wu@mediatek.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent f045e9d commit e494245

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

Documentation/devicetree/bindings/media/mediatek,vcodec-decoder.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ properties:
5656
List of the hardware port in respective IOMMU block for current Socs.
5757
Refer to bindings/iommu/mediatek,iommu.yaml.
5858
59-
dma-ranges:
60-
maxItems: 1
61-
description: |
62-
Describes the physical address space of IOMMU maps to memory.
63-
6459
mediatek,vpu:
6560
$ref: /schemas/types.yaml#/definitions/phandle
6661
description:

Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ properties:
4949
List of the hardware port in respective IOMMU block for current Socs.
5050
Refer to bindings/iommu/mediatek,iommu.yaml.
5151
52-
dma-ranges:
53-
maxItems: 1
54-
description: |
55-
Describes the physical address space of IOMMU maps to memory.
56-
5752
mediatek,vpu:
5853
$ref: /schemas/types.yaml#/definitions/phandle
5954
description:

0 commit comments

Comments
 (0)