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
..
2021-03-19 09:05:58 +00:00
2021-03-07 12:33:33 +01:00
2020-10-28 11:19:24 -06:00
2021-01-28 17:57:08 +00:00
2021-02-23 08:10:56 +01:00
2020-10-11 22:05:47 +02:00
2020-10-23 12:07:46 +02:00
2021-03-01 18:11:05 +01:00
2021-03-24 12:45:11 -07:00
2020-10-15 07:49:38 +02:00
2020-11-26 08:05:24 +01:00
2020-10-23 17:13:53 -07:00
2020-10-23 13:56:34 -07:00
2020-10-16 12:36:38 -07:00
2021-03-07 12:33:33 +01:00
2020-11-10 18:48:56 +01:00
2021-01-06 14:56:51 +01:00
2020-10-28 11:26:10 -06:00
2020-10-05 22:57:45 +02:00
2020-11-30 08:20:35 +01:00
2020-11-02 13:45:37 +01:00
2020-12-30 11:54:11 +01:00
2020-10-13 13:33:16 -05:00
2020-11-04 11:38:32 +01:00
2021-03-07 12:53:30 +01:00
2020-10-09 09:33:23 -06:00
2021-03-11 16:02:39 +00:00
2020-10-16 15:02:21 -07:00
2020-11-11 17:12:00 -08:00
2020-10-09 08:21:56 +02:00
2020-10-21 15:43:32 +02:00
2021-03-04 11:37:17 +01:00
2021-03-04 11:37:59 +01:00
2020-10-13 13:33:16 -05:00
2021-01-19 18:27:17 +01:00
2020-11-03 09:57:30 -08:00
2021-03-01 12:52:16 -08:00
2020-11-11 17:12:00 -08:00
2021-01-19 09:32:57 +01:00
2021-03-02 01:43:47 +00:00
2021-03-15 10:47:05 +00:00
2021-01-06 23:25:47 +00:00
2020-10-08 09:47:15 +02:00
2020-12-30 11:54:29 +01:00
2020-11-16 02:13:15 -08:00
2021-02-03 23:28:40 +01:00
2020-11-03 13:14:14 -08:00
2020-10-30 13:08:07 +01:00
2020-11-03 09:57:30 -08:00