* [PATCH] dt-bindings: serial: renesas,hscif: Increase number of DMA channels to 6
@ 2026-09-17 14:06 Geert Uytterhoeven
2026-09-17 14:14 ` sashiko-bot
2026-09-17 16:27 ` Wolfram Sang
0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-09-17 14:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Wolfram Sang
Cc: linux-serial, devicetree, linux-renesas-soc, Geert Uytterhoeven
On R-Car X5H, HSCIF serial interfaces are wired to three DMACs, hence
referring to up to six DMA channels.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
Documentation/devicetree/bindings/serial/renesas,hscif.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
index 4b3f98a46cd9ded0..409cab32de3d8932 100644
--- a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
@@ -97,14 +97,14 @@ properties:
dmas:
minItems: 2
- maxItems: 4
+ maxItems: 6
description:
Must contain a list of pairs of references to DMA specifiers, one for
transmission, and one for reception.
dma-names:
minItems: 2
- maxItems: 4
+ maxItems: 6
items:
enum:
- tx
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: serial: renesas,hscif: Increase number of DMA channels to 6
2026-09-17 14:06 [PATCH] dt-bindings: serial: renesas,hscif: Increase number of DMA channels to 6 Geert Uytterhoeven
@ 2026-09-17 14:14 ` sashiko-bot
2026-09-17 16:27 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-09-17 14:14 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: wsa+renesas, linux-serial, devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: serial: renesas,hscif: global DMA maxItems relaxation permits invalid configurations
--
commit 5201605fb4ecc80faa0e010c992a164bfb0972af
Author: Geert Uytterhoeven <geert@linux-m68k.org>
dt-bindings: serial: renesas,hscif: Increase number of DMA channels to 6
This commit increases the maximum number of DMA channels for HSCIF serial
interfaces from 4 to 6. This change is intended to support the R-Car X5H
hardware, which has interfaces wired to three DMACs.
> diff --git a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> index 4b3f98a46cd9d..409cab32de3d8 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
> @@ -97,14 +97,14 @@ properties:
>
> dmas:
> minItems: 2
> - maxItems: 4
> + maxItems: 6
[Severity: Medium]
Does this global change to maxItems permit invalid configurations for older
hardware generations?
By globally increasing the maximum allowed items from 4 to 6 to support Gen5
hardware, the schema will now incorrectly pass validation for Gen1-Gen4 nodes
that specify 5 or 6 DMA channels, despite those SoCs only supporting up to 4.
Should an if:then conditional block be used instead to enforce maxItems: 4
for earlier generations, or to allow 6 only for Gen5 hardware?
> description:
> Must contain a list of pairs of references to DMA specifiers, one for
> transmission, and one for reception.
>
> dma-names:
> minItems: 2
> - maxItems: 4
> + maxItems: 6
[Severity: Medium]
Does this also weaken the schema validation for dma-names on older hardware
generations in the same way?
--
Sashiko AI review · https://sashiko.dev/#/patchset/a08834717c1df2c8974cb0b8300a20cc33c426fa.1789653869.git.geert@linux-m68k.org?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: serial: renesas,hscif: Increase number of DMA channels to 6
2026-09-17 14:06 [PATCH] dt-bindings: serial: renesas,hscif: Increase number of DMA channels to 6 Geert Uytterhoeven
2026-09-17 14:14 ` sashiko-bot
@ 2026-09-17 16:27 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2026-09-17 16:27 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-serial, devicetree, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
On Thu, Sep 17, 2026 at 04:06:15PM +0200, Geert Uytterhoeven wrote:
> On R-Car X5H, HSCIF serial interfaces are wired to three DMACs, hence
> referring to up to six DMA channels.
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-17 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-17 14:06 [PATCH] dt-bindings: serial: renesas,hscif: Increase number of DMA channels to 6 Geert Uytterhoeven
2026-09-17 14:14 ` sashiko-bot
2026-09-17 16:27 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox