[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220601112201.15510-1-tinghan.shen@mediatek.com>
Date: Wed, 1 Jun 2022 19:21:46 +0800
From: Tinghan Shen <tinghan.shen@...iatek.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Lee Jones <lee.jones@...aro.org>,
Benson Leung <bleung@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
Daisuke Nojiri <dnojiri@...omium.org>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
"Dustin L. Howett" <dustin@...ett.net>,
Tzung-Bi Shih <tzungbi@...nel.org>,
Tinghan Shen <tinghan.shen@...iatek.com>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Prashant Malani <pmalani@...omium.org>,
"Enric Balletbo i Serra" <enric.balletbo@...labora.com>,
Brian Norris <briannorris@...omium.org>
CC: <linux-remoteproc@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <chrome-platform@...ts.linux.dev>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>,
<weishunc@...gle.com>
Subject: [PATCH v1 00/15] Add support for MT8195 SCP 2nd core
The MT8195 System Companion Processor(SCP) is a dual-core RISC-V MCU.
Current mediatek remoteproc driver only supports bring-up single core
SCP or the 1st core of a dual-core SCP. This series support to bring-up
the 2nd core of a dual-core SCP.
Tinghan Shen (15):
dt-binding: remoteproc: mediatek: Support dual-core SCP
remoteproc: Kconfig: Add mt8195 SCP dual core configuration
remoteproc: mediatek: Support hanlding scp core 1 wdt timeout
remoteproc: mediatek: Add SCP core 1 register definitions
remoteproc: mediatek: Add SCP core 1 driver for dual-core scp
remoteproc: mediatek: Add SCP core 1 rproc operations
remoteproc: mediatek: Add SCP core 1 reserved memory support
remoteproc: mediatek: Add SCP core 1 interrupt support
remoteproc: mediatek: Register SCP core 1 initialization ipi
remoteproc: mediatek: Add chip dependent operations for SCP core 1
remoteproc: mediatek: Add SCP core 1 SRAM offset
remoteproc: mediatek: SCP core 1 as a rproc subdevice
remoteproc: mediatek: Wait SCP core 1 probe done
remoteproc: mediatek: Support rpmsg for SCP core 1
mfd: cros_ec: Add SCP 2nd core as a new CrOS EC MCU
.../bindings/remoteproc/mtk,scp.yaml | 12 +
drivers/mfd/cros_ec_dev.c | 5 +
drivers/remoteproc/Kconfig | 10 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/mtk_common.h | 50 +++
drivers/remoteproc/mtk_scp.c | 92 ++++-
drivers/remoteproc/mtk_scp_dual.c | 320 ++++++++++++++++++
drivers/remoteproc/mtk_scp_subdev.c | 163 +++++++++
.../linux/platform_data/cros_ec_commands.h | 2 +
include/linux/platform_data/cros_ec_proto.h | 1 +
10 files changed, 644 insertions(+), 12 deletions(-)
create mode 100644 drivers/remoteproc/mtk_scp_dual.c
create mode 100644 drivers/remoteproc/mtk_scp_subdev.c
--
2.18.0
Powered by blists - more mailing lists