Messages in this thread Patch in this message |  | | From | Biju <> | | Subject | [PATCH 1/3] dt-bindings: can: renesas,rcar-canfd: Document renesas,bus-off-recovery-mode property | | Date | Fri, 3 Apr 2026 10:49:58 +0100 |
| |
From: Biju Das <biju.das.jz@bp.renesas.com>
Document renesas,bus-off-recovery-mode property in the Renesas R-Car CAN FD controller binding. This optional u32 property allows selection of the bus-off recovery behaviour, supporting four modes: 0: ISO11898-1 compliant recovery 1: Automatic entry to Channel Halt mode at bus-off entry (default) 2: Automatic entry to Channel Halt mode at bus-off end 3: Entry to Channel Halt mode in bus-off state via program request
The default value of 1 ensures backward compatibility when the property is omitted.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> --- .../bindings/net/can/renesas,rcar-canfd.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml index b9d9dd7a7967..4190e514a7fd 100644 --- a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml +++ b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml @@ -154,6 +154,17 @@ properties: communication in Classical CAN frame format is disabled. Specify this property to put the controller in FD-Only mode. + renesas,bus-off-recovery-mode: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1, 2, 3 ] + default: 1 + description: | + Bus-Off recovery mode selection. Valid values are: + <0> : ISO11898-1 compliant + <1> : Entry to halt mode automatically at bus-off entry (default) + <2> : Entry to halt mode automatically at bus-off end + <3> : Entry to halt mode (in bus-off state) by program request + assigned-clocks: description: Reference to the CANFD clock. The CANFD clock is a div6 clock and can be -- 2.43.0
|  |