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 1171F606A322 for ; Fri, 4 Dec 2026 00:03:54 +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=SVrnzqDk; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=RLt5E7Ah 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:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=vb3NpkoKmkfeh3unYwc4pLvMdfp1UC+9azz6m4Mg/3I=; b=SVrnzqDkxWvmChszIhJg6dADiF nuTSNT3IKzhsO2Mc0f0u0os+PNNEqqnl79DxKiIC0H/dLdyJ4ALdroGC5mr/sIzR5H+TrdDRg7E1S NDI7ngr4F11eTbm9EvFRhrlEvKudJXzkrdy1nDJL52hDd7H9MYs9clzANnL4ma9qnRFwOR357gBYm QEGxzuIl3f4L8jmpT5EbrBFp+O5WgUmPRMQDUeFqTWuRZ97s/0TIvWCPfItjRG5Fq33FaggGmkMQ4 L0daTidtlBDOK7oyBghftXGmZNyNs9zRoa1YQdPs9EHnv/Dhnm7KgEH5SVEjUkQxW5ZsuLmMza7GT EGGH2WOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZGm2-0000000GCp8-43ph; Fri, 04 Dec 2026 00:03:38 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZGm1-0000000GCp1-1KkP for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 00:03:37 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 6B73F60091; Fri, 4 Dec 2026 00:03:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7DC81F000C2; Fri, 4 Dec 2026 00:03:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796342616; bh=vb3NpkoKmkfeh3unYwc4pLvMdfp1UC+9azz6m4Mg/3I=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=RLt5E7AhCt1t8oYugVlBTsYz3y/6KLjvubJo19uZa7hjufMgnhyALVDl+upGzZPJP U4/4tECN9DX2vTizARCLOEonT43cKActwaICme88qwP9Xr6992JGPdKLSdnDr3BGxI fror88A21SS4+CfFBSMwHU+PbJZiX2Bygvru8aSG1ATlAV15UN9YXb5Vld2fJL0/8/ IeRBJ19rD+fYqMLcXykKb5SJMT4SbFS//sLHIs60d3YuZBQ0pABdY3dkXTNGYbolSV LBH6ql6pkcaBYGrO7SpRaVsD/kTHrWr6O+QV9orzsJxQk4/cV8i31mJmmZ1MJStC6Y UUFjU8ff9Cjqg== Date: Thu, 3 Dec 2026 18:03:30 -0600 From: Rob Herring To: Paul Cercueil Cc: Krzysztof Kozlowski , Jassi Brar , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , Sunil Kovvuri Goutham , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, George Cherian , Sujeet Baranwal Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add Marvell MHU Message-ID: <20261204000330.GA1849906-robh@kernel.org> References: <20261201112804.92793-1-paul.cercueil@bootlin.com> <20261202-greedy-ubiquitous-muskrat-0d42f9@quoll> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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=-15.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 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 On Wed, Dec 02, 2026 at 03:53:53PM +0100, Paul Cercueil wrote: > Hi Krzysztof, > > Le mercredi 02 décembre 2026 à 15:35 +0100, Krzysztof Kozlowski a écrit : > > On Tue, Dec 01, 2026 at 12:28:03PM +0100, Paul Cercueil wrote: > > > 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 > > > --- > > > > > > v5: Add a marvell,mhu base string, since the MHU units in the > > >     OcteonTX/TX2/CN10K are basically the same thing, or maybe even the > > >     exact same thing. > > > > > > 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         | 63 +++++++++++++++++++ > > >  MAINTAINERS                                   |  6 ++ > > >  2 files changed, 69 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..43f1d5fa5b4c > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml > > > @@ -0,0 +1,63 @@ > > > +# 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: > > > +    items: > > > +      - enum: > > > +          - marvell,octeontx-mhu > > > +          - marvell,octeontx2-mhu > > > +          - marvell,cn10-mhu > > > +      - const: marvell,mhu > > > > No, compatibility between marvell,octeontx2-mhu and > > marvell,octeontx-mhu, and most likely marvell,cn10-mhu. > > Well I'm not sure what you mean then. > > I only have the CN10K doc so I can't guarantee that the IPs are exactly the > same, hence why I used three different compatible strings with the same base > string. Don't use generic compatibles. Pick the oldest chip for the fallback if you want a common compatible. Rob