media: dt-bindings: media: mtk-vcodec: Add dma-ranges property
authorIrui Wang <irui.wang@mediatek.com>
Sat, 5 Jun 2021 02:29:14 +0000 (04:29 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 17 Jun 2021 08:10:09 +0000 (10:10 +0200)
commit5cd57605771216755bd6f98748d4f11d1e65b780
tree33bc100389621efc42d12c8812ea6a2364940f1f
parentb6c57d313f5f8d0da150f6e02882f0607443abe7
media: dt-bindings: media: mtk-vcodec: Add dma-ranges property

The mt8192 iommu support 0~16GB iova. We separate it to four banks:
0~4G; 4G~8G; 8G~12G; 12G~16G.

The "dma-ranges" could be used to adjust the bank we locate.
If we don't set this property. The default range always is 0~4G.

This is optional and only needed in mt8192, the dma ranges should
not cross 4G/8G/12G.

Here we don't have actual bus/parent concept here.  And the iova
requirement is for our HW. Thus put the property in our node.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Irui Wang <irui.wang@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/devicetree/bindings/media/mediatek-vcodec.txt