Commit ad834fa8 authored by kyrie wu's avatar kyrie wu Committed by Mauro Carvalho Chehab
Browse files

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: default avatarkyrie wu <kyrie.wu@mediatek.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent cd54ff93
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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