From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F03E3C7EE2A for ; Wed, 25 Jun 2025 19:55:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oLxKI4JyMtdZXqdHaSu1opMu6/7d6hHYiJlAEmlOjKs=; b=Bw7c6atRoMmEMfsqhBW8Y/Y9Rr qmDebU2vGrTgitmqw43EhcUzGaBZgDOae37Zpwt4v46sqrdEb7wMlnBdl57t1LkSZo/vK6FObRrhL Wr7tDAcutrraijaoChWGTXl0PfZY4eUQKw1SX9S5hO7ecAkcsDtGys5xcQYXAM885pmLoSP3IdBwC LfXCvLciLIJ0HX0x6EWMhSxlgGFw6SIMGzs3wekM0UNyr18k5LhKYUtjS2KhLr30MKaCKQQ3cNjHF pyB5lbRov+W3Zbd0SwMN/bchGSGFVTVabOUkXKGTV9tjFlsAXv0FM2uBqCtK0PS6jk3EMoSG/x1cZ zPzH5xYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uUWDo-00000009nIy-3yYX; Wed, 25 Jun 2025 19:55:52 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uUSO1-00000009BH7-0StO for linux-arm-kernel@lists.infradead.org; Wed, 25 Jun 2025 15:50:09 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 57B8560010; Wed, 25 Jun 2025 15:50:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E806BC4CEEB; Wed, 25 Jun 2025 15:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750866608; bh=Ikf1eFPSR3XrPLb5x/K+vYHAnLYeiM6FKIqk0udcbtI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YtIVAZauBqbEd5GWyvnZRNeQl3H6C176E1r7tRYFZFIW4SPAg0sQhb8cDSSM5Cqt0 AyUl2Pyh91tEfw3ZmF2baKJzGWXHjZteahiL0bVheUEhChUraFDAEBhgMdDbMRnGlO IREv+IcsUfawLUnMDueEjgXqxVdio3BZdY7P58SQiqGHpDafnzFg61pfawQCQZ3S6V SnI9Tayw35cwDEx6ZjsFTdlsYf1e3dDNEQEfXg+sqIere1bQVLbUy2luTPDUlypcWM tDgqnqbF/oR3YKfD4Lr1J4U2qIX/+wjPGXAz/kqTk2BvLzNKZ34ynmSffPX23l2Smx DPKs5MNB+HqzA== Date: Wed, 25 Jun 2025 10:50:07 -0500 From: Rob Herring To: Jammy Huang Cc: jassisinghbrar@gmail.com, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org Subject: Re: [PATCH v5 1/2] dt-bindings: mailbox: Add ASPEED AST2700 series SoC Message-ID: <20250625155007.GA1489062-robh@kernel.org> References: <20250625073417.2395037-1-jammy_huang@aspeedtech.com> <20250625073417.2395037-2-jammy_huang@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250625073417.2395037-2-jammy_huang@aspeedtech.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 You didn't add Krzysztof's Reviewed-by... > --- > .../mailbox/aspeed,ast2700-mailbox.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 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..0a5f43de5f28 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mailbox/aspeed,ast2700-mailbox.yaml > @@ -0,0 +1,60 @@ > +# 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 > + > +description: You need '>' to preserve paragraphs. > + 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. And a blank line between paragraphs. > + 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). And here. > + 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: 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 > + > + interrupts: > + maxItems: 1 > + > + "#mbox-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - "#mbox-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + mailbox@12c1c200 { > + compatible = "aspeed,ast2700-mailbox"; > + reg = <0x12c1c200 0x100>, <0x12c1c300 0x100>; > + interrupts = ; > + #mbox-cells = <1>; > + }; > -- > 2.25.1 >