Skip to content

Commit 0e05129

Browse files
Thomas Koppmarckleinebudde
authored andcommitted
dt-binding: can: mcp251xfd: narrow down wildcards in device tree bindings to "microchip,mcp251xfd"
The wildcard should be narrowed down to prevent existing and future devices that are not compatible from matching. It is very unlikely that incompatible devices will be released that do not match the wildcard. This is the documentation part of the commit. Discussion Reference: https://lore.kernel.org/r/CAMuHMdVkwGjr6dJuMyhQNqFoJqbh6Ec5V2b5LenCshwpM2SDsQ@mail.gmail.com Reported-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Thomas Kopp <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mkl: rename file, too] Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 9d5c8df commit 0e05129

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml renamed to Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/net/can/microchip,mcp25xxfd.yaml#
4+
$id: http://devicetree.org/schemas/net/can/microchip,mcp251xfd.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title:
@@ -18,7 +18,7 @@ properties:
1818
description: for MCP2517FD
1919
- const: microchip,mcp2518fd
2020
description: for MCP2518FD
21-
- const: microchip,mcp25xxfd
21+
- const: microchip,mcp251xfd
2222
description: to autodetect chip variant
2323

2424
reg:
@@ -38,7 +38,7 @@ properties:
3838

3939
microchip,rx-int-gpios:
4040
description:
41-
GPIO phandle of GPIO connected to to INT1 pin of the MCP25XXFD, which
41+
GPIO phandle of GPIO connected to to INT1 pin of the MCP251XFD, which
4242
signals a pending RX interrupt.
4343
maxItems: 1
4444

@@ -65,7 +65,7 @@ examples:
6565
#size-cells = <0>;
6666
6767
can@0 {
68-
compatible = "microchip,mcp25xxfd";
68+
compatible = "microchip,mcp251xfd";
6969
reg = <0>;
7070
clocks = <&can0_osc>;
7171
pinctrl-names = "default";

0 commit comments

Comments
 (0)