dt-bindings: mediatek: Add bindings for MT6779
authorChao Hao <chao.hao@mediatek.com>
Fri, 3 Jul 2020 04:41:18 +0000 (12:41 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 10 Jul 2020 14:13:10 +0000 (16:13 +0200)
commit349b00c9c0a052af6720552919c9812dad9013e7
treeb27074668448a8c149d78706ae64f5103c917bf4
parent9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
dt-bindings: mediatek: Add bindings for MT6779

This patch adds description for MT6779 IOMMU.

MT6779 has two iommus, they are mm_iommu and apu_iommu which
both use ARM Short-Descriptor translation format.

In addition, mm_iommu and apu_iommu are two independent HW instance
, we need to set them separately.

The MT6779 IOMMU hardware diagram is as below, it is only a brief
diagram about iommu, it don't focus on the part of smi_larb, so
I don't describe the smi_larb detailedly.

     EMI
      |
   --------------------------------------
   | |
        MM_IOMMU                            APU_IOMMU
   | |
       SMI_COMMOM-----------      APU_BUS
          |    | |
    SMI_LARB(0~11)         |                 |
  |    | |
  |    |    --------------
  |    |    |  | |
   Multimedia engine   CCU   VPU   MDLA   EMDA

All the connections are hardware fixed, software can not adjust it.

Signed-off-by: Chao Hao <chao.hao@mediatek.com>
Reviewed-by: Rob Herring <robh+dt@kernel.org>
Link: https://lore.kernel.org/r/20200703044127.27438-2-chao.hao@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Documentation/devicetree/bindings/iommu/mediatek,iommu.txt
include/dt-bindings/memory/mt6779-larb-port.h [new file with mode: 0644]