[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9efb52255ee55c6300f97c067d8cec606dab0574.camel@codeconstruct.com.au>
Date: Fri, 27 Jun 2025 11:22:56 +0930
From: Andrew Jeffery <andrew@...econstruct.com.au>
To: Rob Herring <robh@...nel.org>, Jammy Huang <jammy_huang@...eedtech.com>
Cc: jassisinghbrar@...il.com, krzk+dt@...nel.org, conor+dt@...nel.org,
joel@....id.au, linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-aspeed@...ts.ozlabs.org
Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: Add ASPEED AST2700 series
SoC
On Wed, 2025-06-25 at 10:50 -0500, Rob Herring wrote:
> On Wed, Jun 25, 2025 at 03:34:16PM +0800, Jammy Huang wrote:
> > Introduce the mailbox module for AST27XX series SoC, which is responsible
> > for interchanging messages between asymmetric processors.
> >
> > Signed-off-by: Jammy Huang <jammy_huang@...eedtech.com>
>
*snip*
> > +properties:
> > + compatible:
> > + const: aspeed,ast2700-mailbox
> > +
> > + reg:
> > + maxItems: 2
> > + description:
> > + Contains the base addresses and sizes of the mailbox controller. 1st one
> > + is for TX control register; 2nd one is for RX control register.
>
> Instead, just:
>
> items:
> - description: TX control register
> - description: RX control register
Maybe also specify reg-names with "tx" and "rx"? That way we can use
devm_platform_ioremap_resource_byname() in the linux driver
implementation, which should look tidier.
Andrew
Powered by blists - more mailing lists