aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksij Rempel <[email protected]>2020-10-22 09:52:17 +0200
committerMarc Kleine-Budde <[email protected]>2020-11-03 22:24:19 +0100
commit1f9234401ce0aa7a05857db43c5aef290d5177e2 (patch)
treeb320b9873ed4f0923675b1b9d3484e2d2baff863
parent9621618130bf7e83635367c13b9a6ee53935bb37 (diff)
dt-bindings: can: add can-controller.yaml
For now we have only node name as common rule for all CAN controllers Signed-off-by: Oleksij Rempel <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/net/can/can-controller.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/can/can-controller.yaml b/Documentation/devicetree/bindings/net/can/can-controller.yaml
new file mode 100644
index 000000000000..9cf2ae097156
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/can/can-controller.yaml
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/can/can-controller.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: CAN Controller Generic Binding
+
+maintainers:
+ - Marc Kleine-Budde <[email protected]>
+
+properties:
+ $nodename:
+ pattern: "^can(@.*)?$"
+
+additionalProperties: true
+
+...