Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: can: renesas,rcar-canfd: R-Car V3U is R-Car Gen4

Despite the name, R-Car V3U is the first member of the R-Car Gen4
family. Hence generalize this by introducing a family-specific
compatible value for R-Car Gen4.

While at it, replace "both channels" by "all channels", as the numbers
of channels may differ from two.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/all/4dea4b7dd76d4f859ada85f97094b7adeef5169f.1674499048.git.geert+renesas@glider.be
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

Geert Uytterhoeven and committed by
Marc Kleine-Budde
e8b98168 2e8ca20b

+7 -4
+7 -4
Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
··· 30 30 31 31 - items: 32 32 - enum: 33 + - renesas,r8a779a0-canfd # R-Car V3U 34 + - const: renesas,rcar-gen4-canfd # R-Car Gen4 35 + 36 + - items: 37 + - enum: 33 38 - renesas,r9a07g043-canfd # RZ/G2UL and RZ/Five 34 39 - renesas,r9a07g044-canfd # RZ/G2{L,LC} 35 40 - renesas,r9a07g054-canfd # RZ/V2L 36 41 - const: renesas,rzg2l-canfd # RZ/G2L family 37 - 38 - - const: renesas,r8a779a0-canfd # R-Car V3U 39 42 40 43 reg: 41 44 maxItems: 1 ··· 63 60 $ref: /schemas/types.yaml#/definitions/flag 64 61 description: 65 62 The controller can operate in either CAN FD only mode (default) or 66 - Classical CAN only mode. The mode is global to both the channels. 63 + Classical CAN only mode. The mode is global to all channels. 67 64 Specify this property to put the controller in Classical CAN only mode. 68 65 69 66 assigned-clocks: ··· 162 159 properties: 163 160 compatible: 164 161 contains: 165 - const: renesas,r8a779a0-canfd 162 + const: renesas,rcar-gen4-canfd 166 163 then: 167 164 patternProperties: 168 165 "^channel[2-7]$": false