From: Xiangzhi Tang <xiangzhi.tang@mediatek.com>
To: Bjorn Andersson <andersson@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Xiangzhi Tang <Xiangzhi.Tang@mediatek.com>
Cc: <linux-remoteproc@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
<Project_Global_Chrome_Upstream_Group@mediatek.com>,
<jjian.zhou@mediatek.com>, <hailong.fan@mediatek.com>,
Xiangzhi Tang <xiangzhi.tang@mediatek.com>
Subject: [PATCH 0/2] Add vcp driver
Date: Wed, 2 Apr 2025 17:19:23 +0800 [thread overview]
Message-ID: <20250402092134.12293-1-xiangzhi.tang@mediatek.com> (raw)
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
next reply other threads:[~2025-04-02 9:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-02 9:19 Xiangzhi Tang [this message]
2025-04-02 9:19 ` [PATCH 1/2] dt-bindings: remoteproc: Add VCP support for mt8196 Xiangzhi Tang
2025-04-02 11:11 ` Krzysztof Kozlowski
2025-04-06 6:46 ` Xiangzhi Tang (唐相志)
2025-04-06 12:10 ` Krzysztof Kozlowski
2025-04-02 12:55 ` Rob Herring (Arm)
2025-04-06 8:04 ` Xiangzhi Tang (唐相志)
2025-04-02 9:19 ` [PATCH 2/2] remoterpoc: mediatek: vcp: Add vcp remoteproc driver Xiangzhi Tang
2025-04-02 11:16 ` Krzysztof Kozlowski
2025-04-06 7:29 ` Xiangzhi Tang (唐相志)
2025-04-06 12:12 ` Krzysztof Kozlowski
2025-04-02 14:19 ` Mathieu Poirier
2025-04-06 7:07 ` Xiangzhi Tang (唐相志)
2025-04-02 10:31 ` [PATCH 0/2] Add vcp driver Krzysztof Kozlowski
2025-04-06 8:05 ` Xiangzhi Tang (唐相志)
2025-04-06 12:13 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250402092134.12293-1-xiangzhi.tang@mediatek.com \
--to=xiangzhi.tang@mediatek.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=andersson@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=hailong.fan@mediatek.com \
--cc=jjian.zhou@mediatek.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®