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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: can: renesas,rcar-canfd: Specify reset-names

Specify the expected reset-names for the Renesas CAN-FD controller on
RZ/G2L and RZ/G3E SoCs.

The reset names rstp_n and rstc_n are defined in the SoC hardware manual
and are already used by the driver since commit 76e9353a80e9 ("can:
rcar_canfd: Add support for RZ/G2L family"). The reset-names property
existed previously but was dropped by commit 466c8ef7b66b ("dt-bindings:
can: renesas,rcar-canfd: Simplify the conditional schema").

Restore and constrain reset-names in the binding so DT schema checks
match the actual hardware requirements and driver expectations.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260114154525.3169992-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

Lad Prabhakar and committed by
Marc Kleine-Budde
af6b427c 065b2730

+19 -14
+19 -14
Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml
··· 122 122 123 123 resets: true 124 124 125 + reset-names: 126 + items: 127 + - const: rstp_n 128 + - const: rstc_n 129 + 125 130 renesas,no-can-fd: 126 131 $ref: /schemas/types.yaml#/definitions/flag 127 132 description: ··· 200 195 minItems: 2 201 196 maxItems: 2 202 197 203 - reset-names: 204 - minItems: 2 205 - maxItems: 2 206 - 207 - required: 208 - - reset-names 209 - 210 198 - if: 211 199 properties: 212 200 compatible: ··· 236 238 resets: 237 239 minItems: 2 238 240 maxItems: 2 239 - 240 - reset-names: 241 - minItems: 2 242 - maxItems: 2 243 - 244 - required: 245 - - reset-names 246 241 247 242 - if: 248 243 properties: ··· 289 298 then: 290 299 properties: 291 300 renesas,no-can-fd: false 301 + 302 + - if: 303 + properties: 304 + compatible: 305 + contains: 306 + enum: 307 + - renesas,r9a09g047-canfd 308 + - renesas,rzg2l-canfd 309 + then: 310 + required: 311 + - reset-names 312 + else: 313 + properties: 314 + reset-names: false 292 315 293 316 unevaluatedProperties: false 294 317