diff options
author | Thomas Kopp <[email protected]> | 2020-09-30 11:14:23 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2020-09-30 11:22:26 +0200 |
commit | 0e051294c03e84e1dcb9c84d105d762aedb27364 (patch) | |
tree | 2f9cb1bea695b4107f302d44d9ba6a147162ec8b | |
parent | 9d5c8df1b93999191856533ead6c4ff21b13c44b (diff) |
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]>
-rw-r--r-- | Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml (renamed from Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml b/Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml index 5beb00a614bf..2a884c1fe0e0 100644 --- a/Documentation/devicetree/bindings/net/can/microchip,mcp25xxfd.yaml +++ b/Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/net/can/microchip,mcp25xxfd.yaml# +$id: http://devicetree.org/schemas/net/can/microchip,mcp251xfd.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: @@ -18,7 +18,7 @@ properties: description: for MCP2517FD - const: microchip,mcp2518fd description: for MCP2518FD - - const: microchip,mcp25xxfd + - const: microchip,mcp251xfd description: to autodetect chip variant reg: @@ -38,7 +38,7 @@ properties: microchip,rx-int-gpios: description: - GPIO phandle of GPIO connected to to INT1 pin of the MCP25XXFD, which + GPIO phandle of GPIO connected to to INT1 pin of the MCP251XFD, which signals a pending RX interrupt. maxItems: 1 @@ -65,7 +65,7 @@ examples: #size-cells = <0>; can@0 { - compatible = "microchip,mcp25xxfd"; + compatible = "microchip,mcp251xfd"; reg = <0>; clocks = <&can0_osc>; pinctrl-names = "default"; |