From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796342616; b=Q0O+gvDiiGw51u92LuybZrSHn7FoUrzg2l41wt7MVB0dtMfxR2RVeXr6Nd0NUh0Ukeh2 YKmO9noGg6/TigeCGtOpoQjchjcMst6b9laGwfUmpaI0sEuxB3Rf8thBz0558LBgzCstA C8gpBsh3oc+yV6zFr1yR4vwH5YzjS4ZXac0WxQ11VtrnJwD+nFsNOhgsoHNQV1SY1xRGE TjmPN8Co1F2a353nmpKged4gqmnnQMpvWawQgl0lX19hQmj/1D7RPU4+BpcfqqKgtN/Rc 9FTljnwmUnR6QschUZdGsRgMkD9Zt+u2xrJ1M/L56MJ3myaSvAexlvkcjDu5C4qxrNg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796342616; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=vb3NpkoKmkfeh3unYwc4pLvMdfp1UC+9azz6m4Mg/3I=; b=KjoqR3V/u1erW75NdAxPL0d9yZDHoYaNG0zhRNL+XRrMQmIwhmyjXXc74P3oo/xIuF6Z WgOqP4bbrSrNOXdcwSUcWVU8nlmxxpr6oAlFxsTKvQiqE994+LAjOabyDmdncA3JyTKOZ AoALtqSI0ay2lP0JuKXuGG0qCq7LZMqzR816Vpjy73eemfztai8hMlr8HAnJmwgvR/3Ye F7tk214wofcWYi2X6kL9PE9Ue5UXaywemNW1rnB1ovGpuzTOzFV7nEA6Pt4Ql9/oYCUni wp/14r1UOhGbkj1gmEWsf58V7muUI0SB7cMUvBX8XuqQnONN7gebsiOGk+xOd9pIAmQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=RLt5E7Ah; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81FEA606A322 for ; Fri, 4 Dec 2026 00:03:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=RLt5E7Ah 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-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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