[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250728-cv1800-rproc-v2-0-5bbee4abe9dc@pigmoral.tech>
Date: Mon, 28 Jul 2025 19:03:22 +0800
From: Junhui Liu <junhui.liu@...moral.tech>
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>, Chen Wang <unicorn_wang@...look.com>,
Inochi Amaoto <inochiama@...il.com>, Junhui Liu <junhui.liu@...moral.tech>,
Philipp Zabel <p.zabel@...gutronix.de>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>
Cc: linux-remoteproc@...r.kernel.org, devicetree@...r.kernel.org,
sophgo@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org
Subject: [PATCH v2 0/2] remoteproc: cv1800b: Add initial support for C906L
processor
This patch series introduces initial support for the C906L remote
processor in the Sophgo CV1800B SoC. The CV1800B SoC integrates multiple
cores, including a main application core running Linux, a C906L core
typically running RTOS, and an 8051 MCU.
The C906L is an asymmetric processor designed to typically run RTOS.
This patch adds the basic infrastructure to support remoteproc
management of the C906L processor, including firmware loading and basic
control (start/stop) from the main Linux core. Mailbox-related
functionality will be added in a separate patch, after Zephyr mainline
support for the C906L is ready [1].
The C906L remoteproc relies on the reset controller [1] to function
correctly [2].
A branch for testing is available at [3].
Link: https://github.com/zephyrproject-rtos/zephyr/pull/69594 [1]
Link: https://lore.kernel.org/linux-riscv/20250617070144.1149926-1-inochiama@gmail.com [2]
Link: https://github.com/pigmoral/linux/tree/cv1800b/rproc-test [3]
---
Changes in v2:
- Add mbox-related properties in dt-bindings
- Remove reserved-memory node in dt examples
- Fix warnings in driver by handling conversions of `void *` and `void
__iomem *` correctly
- Add missing <linux/bits.h> header
- Use `rproc_of_resm_mem_entry_init()` for vdev0buffer region
- Remove redundant rproc_shutdown in remove() function
- Link to v1: https://lore.kernel.org/r/20250608-cv1800-rproc-v1-0-57cf66cdf6a3@pigmoral.tech
---
Junhui Liu (2):
dt-bindings: remoteproc: Add C906L rproc for Sophgo CV1800B SoC
drivers: remoteproc: Add C906L controller for Sophgo CV1800B SoC
.../bindings/remoteproc/sophgo,cv1800b-c906l.yaml | 79 +++++++
drivers/remoteproc/Kconfig | 9 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/sophgo_cv1800b_c906l.c | 239 +++++++++++++++++++++
4 files changed, 328 insertions(+)
---
base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
change-id: 20250527-cv1800-rproc-08b3a9d2e461
Best regards,
--
Junhui Liu <junhui.liu@...moral.tech>
Powered by blists - more mailing lists