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=1796223243; b=gNpuuOmUvvWOkQGqyX4vh4GeSsrhRPS16EJq5mtKvx74dCstghX5q1zrnsuAl2DvrRlP CitAwvWM2X8lkmLnluhnhExuPvnPFx3ulimnqdxhv8IQQSDtDekUD8fdH8mCJgHHhb1/o Gg7Sc5UQmMzvx/UfcqGEUEHqDx8DVYiyUpk2ikYq1jd/LsdttB2yUZCjZMVyj9luGb9qe IR/hweik6ehLMmOwI2K1Xn8H1xtsBW8pZ2gbR+6g46rumYnGZMGivYDFmitCtIQEQLdZU rKGgC9jZYhMo3q04AYfQVZ467etXmB5zflS/xfgfUlDXFwFcPQcDrBUEyr0yZpwwzdg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796223243; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:Message-ID: Subject:From:To:Cc:Date:In-Reply-To:References:Content-Type: Content-Transfer-Encoding:User-Agent:MIME-Version: X-Last-TLS-Session-Version; bh=3ybILdKxm0QMWVmkdeXHohjywUGjIO9WT/gIDWk6KsU=; b=w/IWTwrKLWUtXdTrf5ihXe7W9YXRw8qe6B2P3T+SM/I3ufSo7Bec6PP/OUNmcPrICB3v Q7RgIjaplICSC1rtWGcCP19BIXwZ29uqbUE9yZlyQiwXvyZfPv4cJooYbI9HyDpoPgw0S wyXOhIOS6G6CVr9+UjfV9TeTz8CZWIRQPC2PaPLmHtPxCj3VC26iH8pRvP9GIdtM1ZR9o N4X8xyIBI2RTv9IYh6uKI3SFgJm7n/XI8eSkfgy5JGqnBdK1FEtT8Dt7bxw2OMNdws1a0 /gUGvKfnCxF4YXyjrylSxMFGBLSJfJKh0SECXToQlB4pET4C+xDHmsBCAvQGc5SiXvw== 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=vrsld4xS; 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 EEDEB606A31A for ; Wed, 2 Dec 2026 14:54:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EEDEB606A31A 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=vrsld4xS Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 9EEDCC01332; Wed, 2 Dec 2026 14:54:11 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 6F4CA6075F; Wed, 2 Dec 2026 14:54:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id B871011EA19BC; Wed, 02 Dec 2026 15:53:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796223239; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=3ybILdKxm0QMWVmkdeXHohjywUGjIO9WT/gIDWk6KsU=; b=vrsld4xSwcq9jP+XBIde0uIXqQWHQaIyKVBE0VAsQLeC2byuBbdDTmk6GsIbIiN43sKZEF rEfdBQ5ow+21I8ycYXl+nqdfIUgT+g9oHA0Jk354clhp7p+Ibzwo8fUvaV13rzUVsLrvHU DkrOzRu3K0Inf294KZCxjEYWgjJF2PQt5MH5+S/A9410XneCr1xifQGfmoH/moTVyjy+Ja Lsgsu7jMlW8iw7oz/gyhpiWg8HpbZeHGH1G9HGQZAfORJgA6Rc3bBKjEgNWmaTPpFRjXBf crfayVvBt1Y1SPfkDyHQdlRDV/iiw3gFPZoPTLNlRZD29paDeVtgmvf+U//B5Q== Message-ID: Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: add Marvell MHU From: Paul Cercueil To: Krzysztof Kozlowski Cc: Jassi Brar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , Sunil Kovvuri Goutham , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, George Cherian , Sujeet Baranwal Date: Wed, 02 Dec 2026 15:53:53 +0100 In-Reply-To: <20261202-greedy-ubiquitous-muskrat-0d42f9@quoll> References: <20261201112804.92793-1-paul.cercueil@bootlin.com> <20261202-greedy-ubiquitous-muskrat-0d42f9@quoll> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-0+deb13u1 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 X-Last-TLS-Session-Version: TLSv1.3 Hi Krzysztof, Le mercredi 02 d=C3=A9cembre 2026 =C3=A0 15:35 +0100, Krzysztof Kozlowski a= =C3=A9crit=C2=A0: > On Tue, Dec 01, 2026 at 12:28:03PM +0100, Paul Cercueil wrote: > > From: George Cherian > >=20 > > Marvell Message Handling Unit is a mailbox controller present in > > Marvell OcteonTx and OcteonTX2 SoC family. > >=20 > > Signed-off-by: George Cherian > > Co-developed-by: Sujeet Baranwal > > Signed-off-by: Sujeet Baranwal > > Signed-off-by: Paul Cercueil > > --- > >=20 > > v5: Add a marvell,mhu base string, since the MHU units in the > > =C2=A0=C2=A0=C2=A0 OcteonTX/TX2/CN10K are basically the same thing, or = maybe even the > > =C2=A0=C2=A0=C2=A0 exact same thing. > >=20 > > v3-v4: No change > >=20 > > v2: > > =C2=A0- Fix binding path in MAINTAINERS file > > =C2=A0- Move MAINTAINERS entry so that it's in alphabetical order > > =C2=A0- Fix formatting of DT example > > --- > > =C2=A0.../bindings/mailbox/marvell,mhu.yaml=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 | 63 +++++++++++++++++++ > > =C2=A0MAINTAINERS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= |=C2=A0 6 ++ > > =C2=A02 files changed, 69 insertions(+) > > =C2=A0create mode 100644 > > Documentation/devicetree/bindings/mailbox/marvell,mhu.yaml > >=20 > > 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: > > +=C2=A0 - Sujeet Baranwal > > +=C2=A0 - George Cherian > > + > > +description: > > +=C2=A0 The Control-Processors Cluster (CPC) provides Arm-platform spec= ification > > +=C2=A0 entities for managing the system. One of the CPC processors is = the System > > +=C2=A0 Control Processor (SCP). The SCP is responsible, among others, = for > > booting > > +=C2=A0 the chip, clock and power initialization, controlling power con= sumption > > +=C2=A0 through DVFS, monitoring temperature sensors and controlling AV= S. The > > SCP, > > +=C2=A0 as each XCP, contains mailboxes for software-to-software commun= ications. > > +=C2=A0 Mailbox writes cause an interrupt to the local XCP core or to t= he AP. > > +=C2=A0 This driver exposes AP-SCP Message Handling Unit to the system,= providing > > +=C2=A0 the mailbox communication mechanism to the system, with the int= ention > > +=C2=A0 of plugging into the SCMI framework. It is designed to work wit= h Marvell > > +=C2=A0 OcteonTX and OcteonTX2-based platforms. > > +=C2=A0 The mailbox has no other usage than SCMI communication. In case= of > > +=C2=A0 configurations running without SCMI support it should be disabl= ed. > > + > > +properties: > > +=C2=A0 compatible: > > +=C2=A0=C2=A0=C2=A0 items: > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - enum: > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - marvell,octeo= ntx-mhu > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - marvell,octeo= ntx2-mhu > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - marvell,cn10-= mhu > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - const: marvell,mhu >=20 > 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 bas= e string. Cheers, -Paul