[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250402092134.12293-1-xiangzhi.tang@mediatek.com>
Date: Wed, 2 Apr 2025 17:19:23 +0800
From: Xiangzhi Tang <xiangzhi.tang@...iatek.com>
To: Bjorn Andersson <andersson@...nel.org>, Mathieu Poirier
<mathieu.poirier@...aro.org>, Rob Herring <robh@...nel.org>, Krzysztof
Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Matthias
Brugger <matthias.bgg@...il.com>, AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>, Xiangzhi Tang
<Xiangzhi.Tang@...iatek.com>
CC: <linux-remoteproc@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>,
<jjian.zhou@...iatek.com>, <hailong.fan@...iatek.com>, Xiangzhi Tang
<xiangzhi.tang@...iatek.com>
Subject: [PATCH 0/2] Add vcp driver
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.song@mediatek.com/
[2]
https://patchwork.kernel.org/project/linux-mediatek/patch/20250317110331.2776-4-jjian.zhou@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
Powered by blists - more mailing lists