aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
diff options
context:
space:
mode:
authorkyrie wu <kyrie.wu@mediatek.com>2022-06-08 07:07:54 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 10:30:34 +0100
commitad834fa85f116a003b51255f6802383cc57fd620 (patch)
tree9bef7d90a56c337d20346c74f4a4c5cf7dd698da /Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
parentmedia: rc: Directly use ida_free() (diff)
downloadlinux-dev-ad834fa85f116a003b51255f6802383cc57fd620.tar.xz
linux-dev-ad834fa85f116a003b51255f6802383cc57fd620.zip
media: media: jpegenc: add mediatek,mt8186-jpgenc compatible
Add mediatek,mt8186-jpgenc compatible to binding document. MT8186 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. Signed-off-by: kyrie wu <kyrie.wu@mediatek.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml')
-rw-r--r--Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
index 8bfdfdfaba59..4fd390c042a9 100644
--- a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
@@ -18,6 +18,7 @@ properties:
- enum:
- mediatek,mt2701-jpgenc
- mediatek,mt8183-jpgenc
+ - mediatek,mt8186-jpgenc
- const: mediatek,mtk-jpgenc
reg:
maxItems: 1
@@ -42,6 +43,11 @@ properties:
Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
Ports are according to the HW.
+ dma-ranges:
+ maxItems: 1
+ description: |
+ Describes the physical address space of IOMMU maps to memory.
+
required:
- compatible
- reg