dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI
authorYong Wu <yong.wu@mediatek.com>
Thu, 24 May 2018 12:35:31 +0000 (20:35 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 18 Jul 2018 15:01:04 +0000 (17:01 +0200)
commit50fa3cd33f9ddcd870dd367381c514a2ef038444
tree5768c88d221570e86a0351bad8d1c9ef286328b8
parent2b519747ae4859e886c37834d766fe0c7d8d82e2
dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI

This patch adds decriptions for mt2712 IOMMU and SMI.

In order to balance the bandwidth, mt2712 has two M4Us, two
smi-commons, 10 smi-larbs. and mt2712 is also MTK IOMMU gen2 which
uses ARM Short-Descriptor translation table format.

The mt2712 M4U-SMI HW diagram is as below:

                            EMI
                             |
              ------------------------------------
              |                                  |
             M4U0                              M4U1
              |                                  |
         smi-common0                        smi-common1
              |                                  |
  -------------------------       --------------------------------
  |     |     |     |     |       |         |        |     |     |
  |     |     |     |     |       |         |        |     |     |
larb0 larb1 larb2 larb3 larb6    larb4    larb5    larb7 larb8 larb9
disp0 vdec  cam   venc   jpg  mdp1/disp1 mdp2/disp2 mdp3 vdo/nr tvd

All the connections are HW fixed, SW can NOT adjust it.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Documentation/devicetree/bindings/iommu/mediatek,iommu.txt
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.txt
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.txt
include/dt-bindings/memory/mt2712-larb-port.h [new file with mode: 0644]