From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.171.202.116 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795438395; b=ZgcI3bpDgyr1txTbK138hnpIwoY+LLGNzeQ4hRvUc3egP8LvwUNDGhPOu83nDscgRPWs N5cpNp4sl6VnflFfF7jdQhKChRtGlUlAZ1t3FQ+ftzPIklWqr6JPbTlgnCaur8a5svOZI YcXZyob9RxWkhIS/23BXCJXt7hg/450xvbWVJhYnjevDPzuLSeHcSlSLRFpQg6+ouW1j8 FrdQj4YvNIwdrLqOxCy+yLNdiRTcz56ObkWHq5Bk4ggPArOwRJVkvBv+vcgqUb7+UU+V+ t6jgf4eSDRqwG+KCcOgk+eS75fJIdOfVNTjwhGcnBpDTJiqNFSFJPMhHvRQ504mT5NQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795438395; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=SALbL3rmUCGs9CMvj5o9j9zBy8rVFFlBbLAPnntxEJ0=; b=jQg68SKEocIqz1b3AJmrEQxZNO6s+1jfn4H7DcjeObhU/AoVHLfUiEPj1InILT9Jy+Fs 3Ww5SPSh/PIx1ZpEWVwyxmycWqkyG96RIRlNSAsgd2Rw3Xp7CYFxHS8hKrg5t219V3of4 rNPDQNfgJ2EdpXnIoqBddWChYEspFyaND6mdy+SoTI036r98R+F4memtZQG7/TXXKU2uY pzq0z8lHWz1e0A7V6xIshvdyAdQXlcDNOEayuVJmomrIFUg7H54awtQ9yNyUjQ94M720l MgDX8bYymtff2enzpRYAq58Qm1DNOlDxjQd/g/YjA6UHyZMS364sHoL+T8gqVg/9fZA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=hrcMmVYE; arc=none smtp.remote-ip=185.171.202.116 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 689E0606A334; Mon, 23 Nov 2026 12:53:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 689E0606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=hrcMmVYE Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 48330C6914A; Mon, 23 Nov 2026 12:53:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 46BA9601E1; Mon, 23 Nov 2026 12:53:12 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 922E511E6A386; Mon, 23 Nov 2026 13:53:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795438391; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=SALbL3rmUCGs9CMvj5o9j9zBy8rVFFlBbLAPnntxEJ0=; b=hrcMmVYE9EXJOJsNs9+2aUI2vH/Gsf/+WJhei1sJJLBBZiKgBdjzhF8Xk79yx9s+O340tx K7VtzYeSnpw4TnXR9RH2bGj24KQIuBnOMsRbEWcP/x9LHtPiiBLkBkUSY2SjjLpWOkxlWu gc622C7bkYGGUgb1cDIB7jrWdXmBy3izIj3sYURrV7g8QfMv0qDncyg3fb3yGo2tQn84h+ NxRl2VJTk1FNkI7h8TnqskC2rZNnBAGIs7k5wU6jgeoZAQw28COoIa/LGd35Xdc54IGUz2 7fJaQaDvWlmSBXabmZQ6nHC8j0uLN7Mb3/6Y9gf/8evnFk+cE/w0z1iEi7qzhw== From: Paul Cercueil To: Jassi Brar Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , Sunil Kovvuri Goutham , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, George Cherian , Sujeet Baranwal , Paul Cercueil Subject: [PATCH v4 1/2] dt-bindings: mailbox: add Marvell MHU Date: Mon, 23 Nov 2026 13:52:56 +0100 Message-ID: <20261123125257.111219-2-paul.cercueil@bootlin.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261123125257.111219-1-paul.cercueil@bootlin.com> References: <20261123125257.111219-1-paul.cercueil@bootlin.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 From: George Cherian Marvell Message Handling Unit is a mailbox controller present in Marvell OcteonTx and OcteonTX2 SoC family. Signed-off-by: George Cherian Co-developed-by: Sujeet Baranwal Signed-off-by: Sujeet Baranwal Signed-off-by: Paul Cercueil --- v3-v4: No change v2: - Fix binding path in MAINTAINERS file - Move MAINTAINERS entry so that it's in alphabetical order - Fix formatting of DT example --- .../bindings/mailbox/marvell,mhu.yaml | 61 +++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml diff --git a/Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml b/Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml new file mode 100644 index 000000000000..5cf20d5642ac --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mailbox/marvell,mhu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Message Handling Unit + +maintainers: + - Sujeet Baranwal + - George Cherian + +description: + The Control-Processors Cluster (CPC) provides Arm-platform specification + entities for managing the system. One of the CPC processors is the System + Control Processor (SCP). The SCP is responsible, among others, for booting + the chip, clock and power initialization, controlling power consumption + through DVFS, monitoring temperature sensors and controlling AVS. The SCP, + as each XCP, contains mailboxes for software-to-software communications. + Mailbox writes cause an interrupt to the local XCP core or to the AP. + This driver exposes AP-SCP Message Handling Unit to the system, providing + the mailbox communication mechanism to the system, with the intention + of plugging into the SCMI framework. It is designed to work with Marvell + OcteonTX and OcteonTX2-based platforms. + The mailbox has no other usage than SCMI communication. In case of + configurations running without SCMI support it should be disabled. + +properties: + compatible: + enum: + - marvell,octeontx-mhu + - marvell,octeontx2-mhu + - marvell,cn10-mhu + + reg: + maxItems: 1 + + "#mbox-cells": + description: Index of the channel + const: 1 + +required: + - compatible + - reg + - "#mbox-cells" + +additionalProperties: false + +examples: + - | + ecam { + #address-cells = <3>; + #size-cells = <2>; + + mailbox@1c,0 { + compatible = "marvell,octeontx2-mhu"; + reg = <0xe000 0x0 0x0 0 0>; + #mbox-cells = <1>; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 65e8a4b5c90b..8f6f98acc8fc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15825,6 +15825,12 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +MARVELL MHU MAILBOX DRIVER +M: Sujeet Baranwal +M: George Cherian +S: Maintained +F: Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml + MARVELL MV643XX ETHERNET DRIVER M: Sebastian Hesselbarth L: netdev@vger.kernel.org -- 2.47.3