Skip to content

Commit

Permalink
dt-bindings: can: add can-controller.yaml
Browse files Browse the repository at this point in the history
For now we have only node name as common rule for all CAN controllers

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201022075218.11880-2-o.rempel@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Oleksij Rempel authored and Marc Kleine-Budde committed Nov 3, 2020
1 parent 9621618 commit 1f92344
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Documentation/devicetree/bindings/net/can/can-controller.yaml
Original file line number Diff line number Diff line change
@@ -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 <mkl@pengutronix.de>

properties:
$nodename:
pattern: "^can(@.*)?$"

additionalProperties: true

...

0 comments on commit 1f92344

Please sign in to comment.