[PATCH v6 0/3] MediaTek Helio X10 MT6795 - M4U/IOMMU Support

From: AngeloGioacchino Del Regno
Date: Tue Sep 13 2022 - 12:52:24 EST


In an effort to give some love to the apparently forgotten MT6795 SoC,
I am upstreaming more components that are necessary to support platforms
powered by this one apart from a simple boot to serial console.

This series introduces support for the IOMMUs found on this SoC.

Tested on a MT6795 Sony Xperia M5 (codename "Holly") smartphone.

Changes in v6:
- Fix rebase mistake in patch [2/3] (dropped unrelated change)

Changes in v5:
- Rebased on next-20220912

Changes in v4:
- Retitled mtk_iommu commits to iommu/mediatek as suggested by Yong Wu
- Removed unused M4U_LARB5_ID definition
- Rebased on next-20220624 and
https://patchwork.kernel.org/project/linux-mediatek/list/?series=650969

Changes in v3:
- Added new flag as suggested by Yong Wu
- Rebased on top of https://patchwork.kernel.org/project/linux-mediatek/list/?series=648784

Changes in v2:
- Rebased on top of https://patchwork.kernel.org/project/linux-mediatek/list/?series=642681

AngeloGioacchino Del Regno (3):
dt-bindings: mediatek: Add bindings for MT6795 M4U
iommu/mediatek: Introduce new flag TF_PORT_TO_ADDR_MT8173
iommu/mediatek: Add support for MT6795 Helio X10 M4Us

.../bindings/iommu/mediatek,iommu.yaml | 4 +
drivers/iommu/mtk_iommu.c | 21 +++-
include/dt-bindings/memory/mt6795-larb-port.h | 95 +++++++++++++++++++
3 files changed, 118 insertions(+), 2 deletions(-)
create mode 100644 include/dt-bindings/memory/mt6795-larb-port.h

--
2.37.2