media: dt-bindings: allwinner: h6-vpu-g2: Add IOMMU reference property
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 15 Nov 2022 09:06:43 +0000 (17:06 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 7 Dec 2022 16:58:47 +0000 (17:58 +0100)
commite895d62188d2cc916e342c603fba87e892b881b0
tree7097973bd18b361380ceafa1fd96620be03e6677
parent5e2ac9aac774f9d7ec405c7bbb48656204a6b8a7
media: dt-bindings: allwinner: h6-vpu-g2: Add IOMMU reference property

The Hantro G2 video decoder block sits behind an IOMMU. The device tree
binding needs a property to reference it. Without a reference for the
implementation to properly configure the IOMMU, it will fault and cause
the video decoder to fail.

Add an "iommus" property for referring to the IOMMU port. The master ID
in the example is taken from the IOMMU fault error message on Linux,
and the number seems to match the order in the user manual's IOMMU
diagram.

Fixes: fd6be12716c4 ("media: dt-bindings: allwinner: document H6 Hantro G2 binding")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Documentation/devicetree/bindings/media/allwinner,sun50i-h6-vpu-g2.yaml