From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: linux-renesas-soc@vger.kernel.org
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org
Subject: [PATCH v2 1/2] dt-bindings: soc: renesas: mfis: add R-Car V4H/V4M support
Date: Tue, 19 May 2026 09:56:18 +0200	[thread overview]
Message-ID: <20260519075620.4128-2-wsa+renesas@sang-engineering.com> (raw)
In-Reply-To: <20260519075620.4128-1-wsa+renesas@sang-engineering.com>

The above SoCs have only 12 mailboxes and do not have an extra register
space for mailboxes. Everything is contained in the common register set.
In addition to adding these SoCs, the other entries get updated to
enforce 2 register spaces and their specific number of interrupts.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 .../soc/renesas/renesas,r8a78000-mfis.yaml    | 38 ++++++++++++++++++-
 1 file changed, 36 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,r8a78000-mfis.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas,r8a78000-mfis.yaml
index eef8c0a59e9c..72b9fa67d1f7 100644
--- a/Documentation/devicetree/bindings/soc/renesas/renesas,r8a78000-mfis.yaml
+++ b/Documentation/devicetree/bindings/soc/renesas/renesas,r8a78000-mfis.yaml
@@ -19,25 +19,29 @@ description:
 properties:
   compatible:
     enum:
+      - renesas,r8a779g0-mfis       # R-Car V4H
+      - renesas,r8a779h0-mfis       # R-Car V4M
       - renesas,r8a78000-mfis       # R-Car X5H (AP<->AP, with PRR)
       - renesas,r8a78000-mfis-scp   # R-Car X5H (AP<->SCP, without PRR)
 
   reg:
+    minItems: 1
     maxItems: 2
 
   reg-names:
+    minItems: 1
     items:
       - const: common
       - const: mboxes
 
   interrupts:
-    minItems: 32
+    minItems: 12
     maxItems: 128
     description:
       The interrupts raised by the remote doorbells.
 
   interrupt-names:
-    minItems: 32
+    minItems: 12
     maxItems: 128
     description:
       An interrupt name is constructed with the prefix 'ch'. Then, the
@@ -56,6 +60,26 @@ properties:
       <dt-bindings/soc/renesas,r8a78000-mfis.h>.
 
 allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - renesas,r8a779g0-mfis
+              - renesas,r8a779h0-mfis
+    then:
+      properties:
+        reg:
+          maxItems: 1
+        reg-names:
+          maxItems: 1
+        interrupts:
+          maxItems: 12
+        interrupt-names:
+          maxItems: 12
+          items:
+            pattern: "^ch[0-9]+e$"
+
   - if:
       properties:
         compatible:
@@ -63,6 +87,10 @@ allOf:
             const: renesas,r8a78000-mfis
     then:
       properties:
+        reg:
+          minItems: 2
+        reg-names:
+          minItems: 2
         interrupts:
           minItems: 128
         interrupt-names:
@@ -77,9 +105,15 @@ allOf:
             const: renesas,r8a78000-mfis-scp
     then:
       properties:
+        reg:
+          minItems: 2
+        reg-names:
+          minItems: 2
         interrupts:
+          minItems: 32
           maxItems: 32
         interrupt-names:
+          minItems: 32
           maxItems: 32
           items:
             pattern: "^ch[0-9]+i$"
-- 
2.51.0


  reply	other threads:[~2026-05-19  7:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-19  7:56 [PATCH v2 0/2] soc: renesas: mfis: add R-Car V4H/V4M support Wolfram Sang
2026-05-19  7:56 ` Wolfram Sang [this message]
2026-05-19 17:31   ` [PATCH v2 1/2] dt-bindings: " Conor Dooley
2026-05-29  8:13   ` Geert Uytterhoeven
2026-05-19  7:56 ` [PATCH v2 2/2] " Wolfram Sang
2026-05-29  8:14   ` Geert Uytterhoeven
2026-05-29  7:07 ` [PATCH v2 0/2] " Wolfram Sang

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=20260519075620.4128-2-wsa+renesas@sang-engineering.com \
    --to=wsa+renesas@sang-engineering.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=krzk+dt@kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.