[PATCH 1/3] dt-bindings: iommu: mediatek: add mt6572
Roman Vivchar via B4 Relay
devnull+rva333.protonmail.com at kernel.org
Wed Sep 9 07:14:05 PDT 2026
From: Roman Vivchar <rva333 at protonmail.com>
Add compatible string and header file for mt6572 IOMMU support.
Signed-off-by: Roman Vivchar <rva333 at protonmail.com>
---
.../devicetree/bindings/iommu/mediatek,iommu.yaml | 3 +++
.../memory/mediatek,mt6572-memory-port.h | 26 ++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml
index 79c573c47b08..d0ac4bd71911 100644
--- a/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml
+++ b/Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml
@@ -72,6 +72,7 @@ properties:
- enum:
- mediatek,mt2701-m4u # generation one
- mediatek,mt2712-m4u # generation two
+ - mediatek,mt6572-m4u # generation one
- mediatek,mt6779-m4u # generation two
- mediatek,mt6795-m4u # generation two
- mediatek,mt6893-iommu-mm # generation two
@@ -134,6 +135,7 @@ properties:
dt-binding/memory/mediatek,mt8189-memory-port.h for mt8189,
dt-binding/memory/mt2701-larb-port.h for mt2701 and mt7623,
dt-binding/memory/mt2712-larb-port.h for mt2712,
+ dt-binding/memory/mediatek,mt6572-memory-port.h for mt6572,
dt-binding/memory/mt6779-larb-port.h for mt6779,
dt-binding/memory/mt6795-larb-port.h for mt6795,
dt-binding/memory/mediatek,mt6893-memory-port.h for mt6893,
@@ -162,6 +164,7 @@ allOf:
enum:
- mediatek,mt2701-m4u
- mediatek,mt2712-m4u
+ - mediatek,mt6572-m4u
- mediatek,mt6795-m4u
- mediatek,mt6893-iommu-mm
- mediatek,mt8173-m4u
diff --git a/include/dt-bindings/memory/mediatek,mt6572-memory-port.h b/include/dt-bindings/memory/mediatek,mt6572-memory-port.h
new file mode 100644
index 000000000000..6f8ddc98f1b1
--- /dev/null
+++ b/include/dt-bindings/memory/mediatek,mt6572-memory-port.h
@@ -0,0 +1,26 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2026 Roman Vivchar <rva333 at protonmail.com>
+ */
+
+#ifndef _DT_BINDINGS_MEMORY_MT6572_MEMORY_PORT_H_
+#define _DT_BINDINGS_MEMORY_MT6572_MEMORY_PORT_H_
+
+#define M4U_PORT_DISP_OVL 0
+#define M4U_PORT_DISP_RDMA 1
+#define M4U_PORT_DISP_WDMA 2
+#define M4U_PORT_DISP_DBI 3
+#define M4U_PORT_CAM_WDMA 4
+#define M4U_PORT_CMDQ 5
+#define M4U_PORT_VENC_BSDMA_VDEC_POST0 6
+#define M4U_PORT_MDP_RDMA 7
+#define M4U_PORT_MDP_WDMA 8
+#define M4U_PORT_MDP_ROTO 9
+#define M4U_PORT_MDP_ROTCO 10
+#define M4U_PORT_MDP_ROTVO 11
+#define M4U_PORT_VENC_MVQP 12
+#define M4U_PORT_VENC_MC 13
+#define M4U_PORT_VENC_CDMA_VDEC_CDMA 14
+#define M4U_PORT_VENC_REC_VDEC_WDMA 15
+
+#endif
--
2.55.0
More information about the Linux-mediatek
mailing list