Commit ef82641d authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Marc Kleine-Budde
Browse files

dt-bindings: can-controller: add support for termination-gpios

Some boards provide GPIO controllable termination resistor. Provide
binding to make use of it.

Link: https://lore.kernel.org/r/20210818071232.20585-2-o.rempel@pengutronix.de


Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 44afeed7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -13,6 +13,15 @@ properties:
  $nodename:
    pattern: "^can(@.*)?$"

  termination-gpios:
    description: GPIO pin to enable CAN bus termination.
    maxItems: 1

  termination-ohms:
    description: The resistance value of the CAN bus termination resistor.
    minimum: 1
    maximum: 65535

additionalProperties: true

...