dts: bindings: can: remove deprecated properties for initial timing

Remove the deprecated properties for setting the initial timing parameters
of a CAN controller.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2024-02-07 17:35:21 +01:00 committed by Alberto Escolar
commit 0c13f3888d
15 changed files with 115 additions and 579 deletions

View file

@ -10,43 +10,9 @@ properties:
Initial bitrate in bit/s.
sample-point:
type: int
required: true
description: |
Initial sample point in per mille (e.g. 875 equals 87.5%).
This property is required unless the timing is specified using time quanta based properties
(`sjw`, `prop-seg`, `phase-seg1`, and `phase-seg2`).
If this property is present, the time quanta based timing properties are ignored.
sjw:
type: int
deprecated: true
default: 1
description: |
Initial time quanta of resynchronization jump width (ISO 11898-1).
Deprecated in favor of automatic calculation of a suitable default SJW based on existing
timing parameters. Default of 1 matches the default value previously used for all in-tree CAN
controller devicetree instances.
Applications can still manually set the SJW using the CAN timing APIs.
prop-seg:
type: int
deprecated: true
description: |
Initial time quanta of propagation segment (ISO 11898-1). Deprecated in favor of setting
advanced timing parameters from the application.
phase-seg1:
type: int
deprecated: true
description: |
Initial time quanta of phase buffer 1 segment (ISO 11898-1). Deprecated in favor of setting
advanced timing parameters from the application.
phase-seg2:
type: int
deprecated: true
description: |
Initial time quanta of phase buffer 2 segment (ISO 11898-1). Deprecated in favor of setting
advanced timing parameters from the application.
phys:
type: phandle
description: |

View file

@ -10,43 +10,9 @@ properties:
Initial data phase bitrate in bit/s.
sample-point-data:
type: int
required: true
description: |
Initial data phase sample point in per mille (e.g. 875 equals 87.5%).
This property is required unless the timing is specified using time quanta based properties
(`sjw-data`, `prop-seg-data`, `phase-seg1-data`, and `phase-seg2-data`).
If this property is present, the time quanta based timing properties are ignored.
sjw-data:
type: int
deprecated: true
default: 1
description: |
Initial time quanta of resynchronization jump width for the data phase (ISO11898-1:2015).
Deprecated in favor of automatic calculation of a suitable default SJW based on existing
timing parameters. Default of 1 matches the default value previously used for all in-tree CAN
controller devicetree instances.
Applications can still manually set the SJW using the CAN timing APIs.
prop-seg-data:
type: int
deprecated: true
description: |
Initial time quanta of propagation segment for the data phase (ISO11898-1:2015). Deprecated in
favor of setting advanced timing parameters from the application.
phase-seg1-data:
type: int
deprecated: true
description: |
Initial time quanta of phase buffer 1 segment for the data phase (ISO11898-1:2015). Deprecated
in favor of setting advanced timing parameters from the application.
phase-seg2-data:
type: int
deprecated: true
description: |
Initial time quanta of phase buffer 2 segment for the data phase (ISO11898-1:2015). Deprecated
in favor of setting advanced timing parameters from the application.
tx-delay-comp-offset:
type: int
default: 0