drivers: can: set default initial bitrates via Kconfig
Set the default initial bitrates globally via Kconfig. The initial bitrates can still be overridden using the "bus-speed" and "bus-speed-data" devicetree properties. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
0887986b88
commit
0f7cd6128e
5 changed files with 24 additions and 7 deletions
|
@ -5,9 +5,9 @@ include: base.yaml
|
|||
properties:
|
||||
bus-speed:
|
||||
type: int
|
||||
required: true
|
||||
description: |
|
||||
Initial bitrate in bit/s.
|
||||
Initial bitrate in bit/s. If this is unset, the initial bitrate is set to
|
||||
CONFIG_CAN_DEFAULT_BITRATE.
|
||||
sample-point:
|
||||
type: int
|
||||
description: |
|
||||
|
|
|
@ -5,9 +5,9 @@ include: can-controller.yaml
|
|||
properties:
|
||||
bus-speed-data:
|
||||
type: int
|
||||
required: true
|
||||
description: |
|
||||
Initial data phase bitrate in bit/s.
|
||||
Initial data phase bitrate in bit/s. If this is unset, the initial data phase bitrate is set
|
||||
to CONFIG_CAN_DEFAULT_BITRATE_DATA.
|
||||
sample-point-data:
|
||||
type: int
|
||||
description: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue