Add support MediaTek's Video Companion Processor(VCP) host driver to
control the MediaTek VCP Risc-V coprocessor.
The VCP host driver using rproc mechanism to load vcm firmware
from filesystem, and using SMC services to request ATF to setting
vcp boot sequence, and Host communicated with VCP FW depends on VCP
IPC interfaces

This series patches dependent on:
[1]
https://lore.kernel.org/all/20250307032942.10447-1-guangjie.s...@mediatek.com/
[2]
https://patchwork.kernel.org/project/linux-mediatek/patch/20250317110331.2776-4-jjian.z...@mediatek.com/

note: dependent on arm,smmu-v3 Mediatek patch, onwer 
https://patchwork.kernel.org/project/linux-mediatek/list/?submitter=216242 

Xiangzhi Tang (2):
  dt-bindings: remoteproc: Add VCP support for mt8196
  remoterpoc: mediatek: vcp: Add vcp remoteproc driver

 .../remoteproc/mediatek,mt8196-vcp.yaml       | 174 ++++
 drivers/remoteproc/Kconfig                    |  12 +
 drivers/remoteproc/Makefile                   |   4 +
 drivers/remoteproc/mtk_vcp_common.c           | 982 ++++++++++++++++++
 drivers/remoteproc/mtk_vcp_common.h           | 251 +++++
 drivers/remoteproc/mtk_vcp_rproc.c            | 724 +++++++++++++
 drivers/remoteproc/mtk_vcp_rproc.h            | 107 ++
 include/linux/remoteproc/mtk_vcp_public.h     | 138 +++
 include/linux/soc/mediatek/mtk_sip_svc.h      |   3 +
 9 files changed, 2395 insertions(+)
 create mode 100644 
Documentation/devicetree/bindings/remoteproc/mediatek,mt8196-vcp.yaml
 create mode 100644 drivers/remoteproc/mtk_vcp_common.c
 create mode 100644 drivers/remoteproc/mtk_vcp_common.h
 create mode 100644 drivers/remoteproc/mtk_vcp_rproc.c
 create mode 100644 drivers/remoteproc/mtk_vcp_rproc.h
 create mode 100644 include/linux/remoteproc/mtk_vcp_public.h

-- 
2.45.2


Reply via email to