Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mailbox: Add bindings for RISC-V SBI MPXY extension

Add device tree bindings for the RISC-V SBI Message Proxy (MPXY)
extension as a mailbox controller.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Link: https://lore.kernel.org/r/20250818040920.272664-3-apatel@ventanamicro.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>

authored by

Anup Patel and committed by
Paul Walmsley
581b4da1 492263fd

+51
+51
Documentation/devicetree/bindings/mailbox/riscv,sbi-mpxy-mbox.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mailbox/riscv,sbi-mpxy-mbox.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: RISC-V SBI Message Proxy (MPXY) extension based mailbox 8 + 9 + maintainers: 10 + - Anup Patel <anup@brainfault.org> 11 + 12 + description: | 13 + The RISC-V SBI Message Proxy (MPXY) extension [1] allows supervisor 14 + software to send messages through the SBI implementation (M-mode 15 + firmware or HS-mode hypervisor). The underlying message protocol 16 + and message format used by the supervisor software could be some 17 + other standard protocol compatible with the SBI MPXY extension 18 + (such as RISC-V Platform Management Interface (RPMI) [2]). 19 + 20 + =========================================== 21 + References 22 + =========================================== 23 + 24 + [1] RISC-V Supervisor Binary Interface (SBI) v3.0 (or higher) 25 + https://github.com/riscv-non-isa/riscv-sbi-doc/releases 26 + 27 + [2] RISC-V Platform Management Interface (RPMI) v1.0 (or higher) 28 + https://github.com/riscv-non-isa/riscv-rpmi/releases 29 + 30 + properties: 31 + compatible: 32 + const: riscv,sbi-mpxy-mbox 33 + 34 + "#mbox-cells": 35 + const: 2 36 + description: 37 + The first cell specifies channel_id of the SBI MPXY channel, 38 + the second cell specifies MSG_PROT_ID of the SBI MPXY channel 39 + 40 + required: 41 + - compatible 42 + - "#mbox-cells" 43 + 44 + additionalProperties: false 45 + 46 + examples: 47 + - | 48 + mailbox { 49 + compatible = "riscv,sbi-mpxy-mbox"; 50 + #mbox-cells = <2>; 51 + };