OSDN Git Service

media: dt-bindings: media: mediatek: Remove "dma-ranges" property for decoder
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>
Fri, 3 Mar 2023 01:38:38 +0000 (01:38 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 10 Apr 2023 13:00:33 +0000 (14:00 +0100)
commitfa87b0615c19b847b8049da5b67d3d3ec771713c
treed6d3f2caf5fc756184e96984a2487fb96ece6242
parent52e69517061c2d50c370fa4d47d32692e3113bc8
media: dt-bindings: media: mediatek: Remove "dma-ranges" property for decoder

Because the decoder nodes already make use of the iommus property to
configure the IOMMU for address translations, having a dma-ranges
property makes no sense.

In fact, after commit f1ad5338a4d5 ("of: Fix "dma-ranges" handling for
bus controllers"), having a dma-ranges property causes IOMMU faults.

Remove the dma-ranges property and update the example.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml