From: Wolfram Sang Date: Tue, 19 May 2026 07:56:18 +0000 (+0200) Subject: dt-bindings: soc: renesas: mfis: Add R-Car V4H/V4M support X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e9b940f07b518c8a4c69122c5857cae7d2bbae7;p=thirdparty%2Flinux.git dt-bindings: soc: renesas: mfis: Add R-Car V4H/V4M support 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 Reviewed-by: Geert Uytterhoeven Acked-by: Conor Dooley Link: https://patch.msgid.link/20260519075620.4128-2-wsa+renesas@sang-engineering.com Signed-off-by: Geert Uytterhoeven --- 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: . 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$"