Commit 48b171db authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Marc Kleine-Budde

dt-bindings: can: renesas,rcar-canfd: Make interrupt-names required

The Renesas R-Car CAN FD Controller always uses two or more interrupts.
Make the interrupt-names properties a required property, to make it
easier to identify the individual interrupts.

Update the example accordingly.

Link: https://lore.kernel.org/all/a68e65955e0df4db60233d468f348203c2e7b940.1651512451.git.geert+renesas@glider.beSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 30abc929
...@@ -88,6 +88,7 @@ required: ...@@ -88,6 +88,7 @@ required:
- compatible - compatible
- reg - reg
- interrupts - interrupts
- interrupt-names
- clocks - clocks
- clock-names - clock-names
- power-domains - power-domains
...@@ -136,7 +137,6 @@ then: ...@@ -136,7 +137,6 @@ then:
- const: rstc_n - const: rstc_n
required: required:
- interrupt-names
- reset-names - reset-names
else: else:
properties: properties:
...@@ -167,6 +167,7 @@ examples: ...@@ -167,6 +167,7 @@ examples:
reg = <0xe66c0000 0x8000>; reg = <0xe66c0000 0x8000>;
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "ch_int", "g_int";
clocks = <&cpg CPG_MOD 914>, clocks = <&cpg CPG_MOD 914>,
<&cpg CPG_CORE R8A7795_CLK_CANFD>, <&cpg CPG_CORE R8A7795_CLK_CANFD>,
<&can_clk>; <&can_clk>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment