From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5A992606A31E for ; Mon, 23 Nov 2026 09:46:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=HP0+Hu0c; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=ky6cLrPg DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=Xkm6UF3DxKXiMUPAVwMM+NaecpYPtU9lggI2ZNjlCbg=; b=HP0+Hu0cl1Y0nY rNPop4yj72mIL+07IXEal82qK5OloC2hl/FvRDgYdUIbAlyikB7Xjn1yDTL3MU7eutxrSINMuUOYd z79obou9A1xpi5h2CZwJvhT7jHHZOjKn5xeTcbtHRE/PRgrgRCoJZzwZlCxM0/JwbaGC7rqGWZAWA YEZVepJ/pyJjbA2zuCWu+kidZT639Z1PVx5ARMv6vE1WHnUtJ5baIUTTM7kvfH/YqiokL8R4TUn15 ON7PnGyt/w2iUL/C5h6hpNO+HY/O7xeGbebOk9kqpSeBVN/+aVkDQ1EQyH09gKXw25RZZ7M9W8Ayj ft9R/cHPc8eZdutrzMmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVQd3-00000002oAn-39ef; Mon, 23 Nov 2026 09:46:29 +0000 Received: from smtpout-04.galae.net ([185.171.202.116]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVQcf-00000002o30-1uEx for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2026 09:46:08 +0000 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id A4D99C69146; Mon, 23 Nov 2026 09:46:04 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B60785FAEB; Mon, 23 Nov 2026 09:45:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C4BAF11E68A4E; Mon, 23 Nov 2026 10:45:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795427156; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=Xkm6UF3DxKXiMUPAVwMM+NaecpYPtU9lggI2ZNjlCbg=; b=ky6cLrPg0Ip0dOcxP9mTO4exCTxhgMf9n0TAft8MERhSJ6AdtziRXix0XS8zuyMrBXLk1E ztn6S7AFriNgEQ6mcSB8+Ko9naTdVH80N3jjqKxsC+H1v4idTAYnMmRilXgWGcOJlFniay l0ouiaS9NdTMfWc+z0AFIUlOv2JHCHUSOI0ERtZmN1vGsL80ooHmonkJVERXhk1Mpqu68r voo4bHDEzA9qjrUrrjX+Cs/shTiz6OcwjxMO6iGWQ7ZxEecuF64hhVk1uaHEmEr5+dSIdo tgxZK9LJb9RHh6sFz16lCgA81wZ6JsExR7bbq9yGNkj1Vmy/x8rZrHsrJkHjgw== 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 v3 1/2] dt-bindings: mailbox: add Marvell MHU Date: Mon, 23 Nov 2026 10:45:41 +0100 Message-ID: <20261123094542.44101-2-paul.cercueil@bootlin.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261123094542.44101-1-paul.cercueil@bootlin.com> References: <20261123094542.44101-1-paul.cercueil@bootlin.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261123_014605_797801_1993036C X-CRM114-Status: GOOD ( 16.86 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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: 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