[PATCH v5 1/2] dt-bindings: mailbox: add Marvell MHU

Rob Herring robh at kernel.org
Thu Dec 3 16:03:30 PST 2026


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 <gcherian at marvell.com>
> > > 
> > > Marvell Message Handling Unit is a mailbox controller present in
> > > Marvell OcteonTx and OcteonTX2 SoC family.
> > > 
> > > Signed-off-by: George Cherian <gcherian at marvell.com>
> > > Co-developed-by: Sujeet Baranwal <sbaranwal at marvell.com>
> > > Signed-off-by: Sujeet Baranwal <sbaranwal at marvell.com>
> > > Signed-off-by: Paul Cercueil <paul.cercueil at bootlin.com>
> > > ---
> > > 
> > > 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 <sbaranwal at marvell.com>
> > > +  - George Cherian <gcherian at marvell.com>
> > > +
> > > +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



More information about the linux-arm-kernel mailing list