devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Conor Dooley <conor+dt@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Jassi Brar <jassisinghbrar@gmail.com>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 3/3] dt-bindings: mailbox: Add Renesas MFIS Mailbox
Date: Fri, 24 Oct 2025 10:01:11 +0200	[thread overview]
Message-ID: <110548d0-8c2c-48d6-bb28-c075bf0e8799@kernel.org> (raw)
In-Reply-To: <87bjlwn7j9.wl-kuninori.morimoto.gx@renesas.com>

On 24/10/2025 08:22, Kuninori Morimoto wrote:
> Add device tree bindings for the Renesas Multifunctional Interface
> (MFIS) a mailbox controller.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  .../mailbox/renesas,mfis-mailbox.yaml         | 49 +++++++++++++++++++
>  1 file changed, 49 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mailbox/renesas,mfis-mailbox.yaml
> 
> diff --git a/Documentation/devicetree/bindings/mailbox/renesas,mfis-mailbox.yaml b/Documentation/devicetree/bindings/mailbox/renesas,mfis-mailbox.yaml
> new file mode 100644
> index 0000000000000..b9b6e6d440d79
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mailbox/renesas,mfis-mailbox.yaml

Filename must match compatible. See writing bindings.

> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mailbox/renesas,mfis-mailbox.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Renesas MFIS (Multifunctional Interface) Mailbox Driver

Driver as Linux driver? No, please describe hardware.

> +
> +maintainers:
> +  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> +
> +description: |

Drop |

> +    The R-Car multifunctional interface (MFIS) provides an interface between
> +    the different CPU Cores, such as AP System Core domain and the Realtime
> +    Core domain, SCP Core domain and AP System Core domain or Realtime Core
> +    domain and AP System Core domain or Realtime Core domain.
> +    The MFIS supports the issuing of interrupts for each CPU core domain.
> +
> +properties:
> +  compatible:
> +    const: renesas,mfis-mbox

You need SoC specific compatibles, unless this is not SoC...

> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    description: the irq line

Drop, redundant. Can it be not a irq line?

> +    maxItems: 1
> +
> +  "#mbox-cells":
> +    const: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - "#mbox-cells"
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    mailbox: mfis_mbox@18842000  {


Please follow carefully DTS coding style. Also drop unnecessary label.

> +        compatible = "renesas,mfis-mbox";
> +        reg = <0x18842000 0x8>;
> +        interrupts = <GIC_SPI 4362 IRQ_TYPE_LEVEL_HIGH>;
> +        #mbox-cells = <1>;
> +    };


Best regards,
Krzysztof

      parent reply	other threads:[~2025-10-24  8:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-24  6:21 [PATCH 0/3] mailbox: renesas: Support MFIS mailbox driver Kuninori Morimoto
2025-10-24  6:22 ` [PATCH 1/3] mailbox: remove unneeded double quotation Kuninori Morimoto
2025-10-24  8:01   ` Geert Uytterhoeven
2025-10-24  6:22 ` [PATCH 2/3] mailbox: renesas: Support MFIS mailbox driver Kuninori Morimoto
2025-10-24  7:58   ` Krzysztof Kozlowski
2025-10-24  8:12   ` Geert Uytterhoeven
2025-10-26 22:47   ` Wolfram Sang
2025-10-24  6:22 ` [PATCH 3/3] dt-bindings: mailbox: Add Renesas MFIS Mailbox Kuninori Morimoto
2025-10-24  7:24   ` Rob Herring (Arm)
2025-10-27  4:57     ` Kuninori Morimoto
2025-10-27  9:36       ` Geert Uytterhoeven
2025-10-28  2:05         ` Kuninori Morimoto
2025-10-29  6:26         ` Kuninori Morimoto
2025-10-29  9:33           ` Geert Uytterhoeven
2025-10-24  8:01   ` Krzysztof Kozlowski [this message]

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=110548d0-8c2c-48d6-bb28-c075bf0e8799@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=jassisinghbrar@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-renesas-soc@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).