All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] MT8188 SMI SUPPORT
@ 2022-07-27 10:45 Chengci.Xu
  2022-07-27 10:45 ` [PATCH v3 1/3] dt-bindings: memory: mediatek: Add mt8188 smi binding Chengci.Xu
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Chengci.Xu @ 2022-07-27 10:45 UTC (permalink / raw)
  To: Yong Wu, Krzysztof Kozlowski, Rob Herring, Matthias Brugger
  Cc: linux-mediatek, linux-kernel, devicetree, linux-arm-kernel,
	Project_Global_Chrome_Upstream_Group, Chengci.Xu

This patchset adds MT8188 SMI support.

MT8188, similar to mt8195, there are two SMI-common HW, one is for
VDO(video output), the other is for VPP(video processing pipe). They
connect with different SMI-larbs, then some setting(bus_sel) is
different.

The connection between SMI and MM IOMMU could be something like this:

  IOMMU(VDO)           IOMMU(VPP)
     |                    |
SMI_COMMON_VDO       SMI_COMMON_VPP
----------------     ----------------
  |     |   ...       |     |    ...
larb0 larb2 ...     larb1 larb3  ...

Another change is that the register about enable/disable iommu is in
security world. We add some SMC command to set it.

changes since v3:
  - base on tag: next-20220726.
  - No code change just remove the change-id in patch [2/3].

changes since v2:
  - base on tag: next-20220722.
  - Move some included header to the source file that use them.

changes since v1:
  - base on tag: next-20220720.
  - adds MT8188 SMI support.

Chengci.Xu (3):
  dt-bindings: memory: mediatek: Add mt8188 smi binding
  memory: mtk-smi: Add enable IOMMU SMC command for MM master
  memory: mtk-smi: mt8188: Add SMI Support

 .../mediatek,smi-common.yaml                  |  4 +-
 .../memory-controllers/mediatek,smi-larb.yaml |  3 +
 drivers/memory/mtk-smi.c                      | 82 +++++++++++++++++++
 include/linux/soc/mediatek/mtk_sip_svc.h      |  3 +
 include/soc/mediatek/smi.h                    |  7 ++
 5 files changed, 98 insertions(+), 1 deletion(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-07-30  2:34 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-27 10:45 [PATCH v3 0/3] MT8188 SMI SUPPORT Chengci.Xu
2022-07-27 10:45 ` [PATCH v3 1/3] dt-bindings: memory: mediatek: Add mt8188 smi binding Chengci.Xu
2022-07-28 11:01   ` AngeloGioacchino Del Regno
2022-07-28 11:01     ` AngeloGioacchino Del Regno
2022-07-27 10:45 ` [PATCH v3 2/3] memory: mtk-smi: Add enable IOMMU SMC command for MM master Chengci.Xu
2022-07-28  6:58   ` Yong Wu
2022-07-28  6:58     ` Yong Wu
2022-07-29  7:10     ` Chengci.Xu
2022-07-29  7:10       ` Chengci.Xu
2022-07-28 11:11   ` AngeloGioacchino Del Regno
2022-07-28 11:11     ` AngeloGioacchino Del Regno
2022-07-30  2:12     ` Chengci.Xu
2022-07-30  2:12       ` Chengci.Xu
2022-07-27 10:45 ` [PATCH v3 3/3] memory: mtk-smi: mt8188: Add SMI Support Chengci.Xu
2022-07-28  6:59   ` Yong Wu
2022-07-28  6:59     ` Yong Wu
2022-07-28 11:03   ` AngeloGioacchino Del Regno
2022-07-28 11:03     ` AngeloGioacchino Del Regno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.