[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<SYBP282MB223825D5903777B937A8A377C4A02@SYBP282MB2238.AUSP282.PROD.OUTLOOK.COM>
Date: Mon, 15 Jul 2024 00:28:43 +0800
From: Yuntao Dai <d1581209858@...e.com>
To: jassisinghbrar@...il.com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
unicorn_wang@...look.com,
inochiama@...look.com,
paul.walmsley@...ive.com,
palmer@...belt.com,
aou@...s.berkeley.edu
Cc: linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
linux-riscv@...ts.infradead.org,
Yuntao Dai <d1581209858@...e.com>
Subject: [PATCH v2 0/3] riscv: sophgo: add mailbox support for cv18x SoCs
Add mailbox support for Sophgo cv18x SoCs, and test on both cv1800b SoC for
milkv-duo and cv1812h SoC for milkv-duo256m
Changes in v2:
- drop 'recvid' 'sender' in dt-bindings
- fix compatible to 'cv1800-mailbox', and change filenames too
- change #mbox-cell to 2, for <channel tagert_cpu>
- add struct cv1800_mbox_chan_priv and function cv1800_mbox_xlate to extract
informations in mbox devicetree node of mailbox client
Yuntao Dai (3):
dt-bindings: mailbox: add Sophgo cv18x SoCs mailbox
riscv: dts: add mailbox for Sophgo cv18x SoCs
mailbox: sophgo: add mailbox driver for cv18x SoCs
.../mailbox/sophgo,cv1800-mailbox.yaml | 61 ++++++
arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 9 +
drivers/mailbox/Kconfig | 11 +
drivers/mailbox/Makefile | 2 +
drivers/mailbox/cv1800-mailbox.c | 203 ++++++++++++++++++
5 files changed, 286 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mailbox/sophgo,cv1800-mailbox.yaml
create mode 100644 drivers/mailbox/cv1800-mailbox.c
--
2.17.1
Powered by blists - more mailing lists