linux-uconsole/Documentation/devicetree/bindings
Yong Wu 127a9ea1da UPSTREAM: dt-bindings: mediatek: Add binding for mt8192 IOMMU
This patch adds decriptions for mt8192 IOMMU and SMI.

mt8192 also is MTK IOMMU gen2 which uses ARM Short-Descriptor translation
table format. The M4U-SMI HW diagram is as below:

                          EMI
                           |
                          M4U
                           |
                      ------------
                       SMI Common
                      ------------
                           |
  +-------+------+------+----------------------+-------+
  |       |      |      |       ......         |       |
  |       |      |      |                      |       |
larb0   larb1  larb2  larb4     ......      larb19   larb20
disp0   disp1   mdp    vdec                   IPE      IPE

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

mt8192 M4U support 0~16GB iova range. we preassign different engines
into different iova ranges:

domain-id  module     iova-range                  larbs
   0       disp        0 ~ 4G                      larb0/1
   1       vcodec      4G ~ 8G                     larb4/5/7
   2       cam/mdp     8G ~ 12G             larb2/9/11/13/14/16/17/18/19/20
   3       CCU0    0x4000_0000 ~ 0x43ff_ffff     larb13: port 9/10
   4       CCU1    0x4400_0000 ~ 0x47ff_ffff     larb14: port 4/5

The iova range for CCU0/1(camera control unit) is HW requirement.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Link: https://lore.kernel.org/r/20210111111914.22211-6-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
(cherry picked from commit fc3734698a)

BUG=b:174513569

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Change-Id: I61d4b5024722d1784f66f96484ba5b821e73e9d6
2021-03-24 12:45:11 -07:00
..
arc
arm UPSTREAM: dt-bindings: arm: Add optional interrupt to smc/hvc SCMI transport 2021-03-02 17:34:28 -08:00
ata dt-bindings: Explicitly allow additional properties in common schemas 2020-10-07 11:30:06 -05:00
auxdisplay
board
bus ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
c6x
chrome dt-bindings: Explicitly allow additional properties in common schemas 2020-10-07 11:30:06 -05:00
clock dt-bindings: clock: imx5: fix example 2020-11-13 08:49:59 -06:00
connector UPSTREAM: Documentation: connector: Update the description of sink-vdos 2021-02-13 12:36:50 +00:00
counter
cpu
cpufreq dt-bindings: cpufreq: cpufreq-qcom-hw: Document Qcom EPSS compatible 2020-09-16 14:12:18 +05:30
crypto ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
csky
ddr
devfreq
display dt-bindings: display: sii902x: Add supply bindings 2021-01-19 18:27:19 +01:00
dma ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
dsp
edac dt-bindings: Another round of adding missing 'additionalProperties/unevalutatedProperties' 2020-10-26 16:13:56 -05:00
eeprom dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
extcon Char/Misc driver patches for 5.10-rc1 2020-10-15 10:01:51 -07:00
firmware
fpga
fsi Char/Misc driver patches for 5.10-rc1 2020-10-15 10:01:51 -07:00
fuse dt-bindings: fuse: tegra: Add Tegra234 support 2020-09-18 15:54:45 +02:00
gnss
goldfish
gpio dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
gpu ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
h8300
hsi
hwlock dt-bindings: hwlock: omap: Fix warnings with k3.yaml 2020-10-06 10:55:24 -05:00
hwmon - New Drivers 2020-10-14 15:56:58 -07:00
i2c dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
i3c
iio dt-bindings: Another round of adding missing 'additionalProperties/unevalutatedProperties' 2020-10-26 16:13:56 -05:00
infiniband
input dt-bindings: input: convert cros-ec-keyb to json-schema 2020-10-26 16:13:56 -05:00
interconnect
interrupt-controller Merge 5.10-rc3 into android-mainline 2020-11-09 12:49:27 +01:00
iommu UPSTREAM: dt-bindings: mediatek: Add binding for mt8192 IOMMU 2021-03-24 12:45:11 -07:00
ipmi dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
leds dt-bindings: Another round of adding missing 'additionalProperties/unevalutatedProperties' 2020-10-26 16:13:56 -05:00
mailbox dt-bindings: mailbox: mtk-gce: fix incorrect mbox-cells value 2020-10-25 20:37:55 -05:00
media ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
memory-controllers UPSTREAM: dt-bindings: memory: mediatek: Convert SMI to DT schema 2021-03-24 12:45:10 -07:00
mfd dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
mips dt-bindings: Explicitly allow additional properties in board/SoC schemas 2020-10-26 16:13:56 -05:00
misc ANDROID: dt-bindings: misc: Add bindings for HiSilicon usb hub and data role switch functionality on HiKey960 2021-02-18 23:21:21 +00:00
mmc UPSTREAM: dt-bindings: mmc: sdhci-msm: add ICE registers and clock 2021-02-23 08:10:57 +01:00
mtd NAND Core changes: 2020-10-17 10:45:42 -07:00
mux
nds32
net dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/ 2021-03-07 12:34:08 +01:00
nios2
nvmem ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
openrisc/opencores
opp Devicetree updates for v5.10: 2020-10-14 15:31:58 -07:00
pci dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
perf Devicetree updates for v5.10: 2020-10-14 15:31:58 -07:00
phy dt-bindings: Another round of adding missing 'additionalProperties/unevalutatedProperties' 2020-10-26 16:13:56 -05:00
pinctrl dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
pmem
power dt-bindings: Another round of adding missing 'additionalProperties/unevalutatedProperties' 2020-10-26 16:13:56 -05:00
powerpc dt-bindings: powerpc: Add a schema for the 'sleep' property 2020-10-08 13:44:51 -05:00
pps
ptp dt-binding: ptp_qoriq: support fsl,tmr-fiper3 property 2020-09-18 17:49:20 -07:00
pwm pwm: Changes for v5.10-rc1 2020-10-22 12:51:32 -07:00
regmap
regulator dt-bindings: Another round of adding missing 'additionalProperties/unevalutatedProperties' 2020-10-26 16:13:56 -05:00
remoteproc remoteproc updates for v5.10 2020-10-22 12:56:33 -07:00
reserved-memory Revert "FROMLIST: dt-bindings: reserved-memory: Make DMA-BUF CMA heap DT-configurable" 2021-02-08 23:33:07 +00:00
reset ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
riscv dt-bindings: Explicitly allow additional properties in board/SoC schemas 2020-10-26 16:13:56 -05:00
rng dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
rtc dt-bindings: rtc: add reset-source property 2021-01-09 13:46:22 +01:00
scsi
security/tpm
serial dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
serio
sifive
siox
slimbus
soc ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
sound ANDROID: ASoC: add hikey960-i2s DT bindings 2021-02-18 23:44:26 +00:00
soundwire Char/Misc driver patches for 5.10-rc1 2020-10-15 10:01:51 -07:00
spi Devicetree updates for v5.10: 2020-10-14 15:31:58 -07:00
spmi dt-bindings: Explicitly allow additional properties in common schemas 2020-10-07 11:30:06 -05:00
sram dt-bindings: sram: sunxi-sram: add V3s compatible string 2020-10-26 10:36:53 +01:00
staging/iio/adc
thermal - Fix Kconfig typo "acces" -> "access" (Colin Ian King) 2020-10-17 10:40:22 -07:00
timer dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
ufs scsi: ufs-mediatek: dt-bindings: Add mt8192-ufshci compatible string 2020-09-22 20:37:11 -04:00
usb FROMLIST: dt-bindings: usb: usb-xhci: add USB offload support 2021-03-04 12:42:06 +08:00
virtio
w1 dt-bindings: More whitespace clean-ups in schema files 2020-10-26 16:13:56 -05:00
watchdog linux-watchdog 5.10-rc1 tag 2020-10-21 11:28:43 -07:00
x86
xillybus
.gitignore
.yamllint dt-bindings: Add running yamllint to dt_binding_check 2020-10-12 09:11:04 -05:00
ABI.rst
chosen.txt
common-properties.txt
example-schema.yaml dt-bindings: example: Grammar improvements 2020-09-29 15:32:53 -05:00
graph.txt
index.rst
jailhouse.txt
Makefile dt-bindings: Add running yamllint to dt_binding_check 2020-10-12 09:11:04 -05:00
numa.txt
property-units.txt
resource-names.txt
submitting-patches.rst
trivial-devices.yaml Staging / IIO driver updates for 5.10-rc1 2020-10-15 09:46:23 -07:00
unittest.txt
vendor-prefixes.yaml ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
writing-bindings.rst
xilinx.txt