Skip to content

Commit

Permalink
dt-bindings: can: fsl,flexcan: add transceiver capabilities
Browse files Browse the repository at this point in the history
Currently the flexcan driver does only support adding PHYs by using the
"old" regulator bindings. Add support for CAN transceivers as a PHY.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
Link: https://patch.msgid.link/20250312-flexcan-add-transceiver-caps-v4-1-29e89ae0225a@liebherr.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Dimitri Fedrau authored and Marc Kleine-Budde committed Mar 14, 2025
1 parent 941defc commit 6263bad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ properties:
xceiver-supply:
description: Regulator that powers the CAN transceiver.

phys:
maxItems: 1

big-endian:
$ref: /schemas/types.yaml#/definitions/flag
description: |
Expand Down Expand Up @@ -171,6 +174,12 @@ allOf:
interrupts:
maxItems: 1
interrupt-names: false
- if:
required:
- xceiver-supply
then:
properties:
phys: false

additionalProperties: false

Expand Down

0 comments on commit 6263bad

Please sign in to comment.