[PATCH v1 00/15] Add support for MT8195 SCP 2nd core
Tinghan Shen
tinghan.shen at mediatek.com
Wed Jun 1 04:21:46 PDT 2022
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
More information about the linux-arm-kernel
mailing list