dts: bindings: can: make initial sample point properties optional

Make the properties for setting the initial sample points for both the
classic/arbitration phase and the data phase optional.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2024-03-06 21:50:05 +01:00 committed by Henrik Brix Andersen
commit 4c06e5abba
2 changed files with 8 additions and 2 deletions

View file

@ -10,9 +10,12 @@ 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%).
If this is unset (or if it is set to 0), the initial sample point will default to 75.0% for
bitrates over 800 kbit/s, 80.0% for bitrates over 500 kbit/s, and 87.5% for all other
bitrates.
phys:
type: phandle
description: |

View file

@ -10,9 +10,12 @@ 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%).
If this is unset (or if it is set to 0), the initial sample point will default to 75.0% for
bitrates over 800 kbit/s, 80.0% for bitrates over 500 kbit/s, and 87.5% for all other
bitrates.
tx-delay-comp-offset:
type: int
default: 0