From: Andrew Jeffery <andrew@codeconstruct.com.au>
To: Jammy Huang <jammy_huang@aspeedtech.com>,
jassisinghbrar@gmail.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, joel@jms.id.au,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: Re: [PATCH v4 1/2] dt-bindings: mailbox: Add ASPEED AST2700 series SoC
Date: Wed, 25 Jun 2025 09:58:03 +0930 [thread overview]
Message-ID: <0ba565ac9444503be954161a8d79fa0476bd78a0.camel@codeconstruct.com.au> (raw)
In-Reply-To: <20250623024456.2068370-2-jammy_huang@aspeedtech.com>
On Mon, 2025-06-23 at 10:44 +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@aspeedtech.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../mailbox/aspeed,ast2700-mailbox.yaml | 57 +++++++++++++++++++
> 1 file changed, 57 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mailbox/aspeed,ast2700-mailbox.yaml
>
> diff --git a/Documentation/devicetree/bindings/mailbox/aspeed,ast2700-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/aspeed,ast2700-mailbox.yaml
> new file mode 100644
> index 000000000000..9c5d7028e116
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mailbox/aspeed,ast2700-mailbox.yaml
> @@ -0,0 +1,57 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mailbox/aspeed,ast2700-mailbox.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ASPEED AST2700 mailbox controller
> +
> +maintainers:
> + - Jammy Huang <jammy_huang@aspeedtech.com>
> +
> +description:
> + ASPEED AST2700 has multiple processors that need to communicate with each
> + other. The mailbox controller provides a way for these processors to send
> + messages to each other. It is a hardware-based inter-processor communication
> + mechanism that allows processors to send and receive messages through
> + dedicated channels.
> + The mailbox's tx/rx are independent, meaning that one processor can send a
> + message while another processor is receiving a message simultaneously.
> + There are 4 channels available for both tx and rx operations. Each channel
> + has a FIFO buffer that can hold messages of a fixed size (32 bytes in this
> + case).
> + The mailbox controller also supports interrupt generation, allowing
> + processors to notify each other when a message is available or when an event
> + occurs.
> +
> +properties:
> + compatible:
> + const: aspeed,ast2700-mailbox
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + "#mbox-cells":
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - "#mbox-cells"
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + mailbox@12c1c200 {
> + compatible = "aspeed,ast2700-mailbox";
> + reg = <0x12c1c200 0x200>;
I realise this is just an example, but with respect to the datasheet,
shouldn't this be sized as 0x100?
Otherwise,
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
next prev parent reply other threads:[~2025-06-25 0:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-23 2:44 [PATCH v4 0/2] [PATCH v4 0/2] ASPEED: Add mailbox driver for AST2700 series Jammy Huang
2025-06-23 2:44 ` [PATCH v4 1/2] dt-bindings: mailbox: Add ASPEED AST2700 series SoC Jammy Huang
2025-06-25 0:28 ` Andrew Jeffery [this message]
2025-06-25 0:34 ` Jammy Huang
2025-06-25 0:52 ` Andrew Jeffery
2025-06-25 3:03 ` Jammy Huang
2025-06-23 2:44 ` [PATCH v4 2/2] mailbox: aspeed: add mailbox driver for AST27XX " Jammy Huang
2025-06-25 1:12 ` Andrew Jeffery
2025-06-25 3:05 ` Jammy Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ba565ac9444503be954161a8d79fa0476bd78a0.camel@codeconstruct.com.au \
--to=andrew@codeconstruct.com.au \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jammy_huang@aspeedtech.com \
--cc=jassisinghbrar@gmail.com \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).