mbox series

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

Message ID 20220913151148.412312-1-angelogioacchino.delregno@collabora.com (mailing list archive)
Headers show
Series MediaTek Helio X10 MT6795 - M4U/IOMMU Support | expand

Message

AngeloGioacchino Del Regno Sept. 13, 2022, 3:11 p.m. UTC
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

Comments

Matthias Brugger Sept. 13, 2022, 3:41 p.m. UTC | #1
For the whole series:

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

On 13/09/2022 17:11, AngeloGioacchino Del Regno wrote:
> 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
>
Joerg Roedel Sept. 26, 2022, 11:38 a.m. UTC | #2
On Tue, Sep 13, 2022 at 05:11:45PM +0200, AngeloGioacchino Del Regno wrote:
> 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

Applied, thanks.