drivers: can: split CAN classic and CAN-FD syscalls
Split CAN classic and CAN-FD syscalls into two: - can_set_timing() -> can_set_timing() + can_set_timing_data() - can_set_bitrate() -> can_set_bitrate() + can_set_bitrate_data() Fixes: #45303 Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
bad1fa4f3f
commit
18890828b8
19 changed files with 189 additions and 90 deletions
|
@ -94,6 +94,7 @@ static const struct can_driver_api mcux_mcan_driver_api = {
|
|||
.prescaler = 512,
|
||||
},
|
||||
#ifdef CONFIG_CAN_FD_MODE
|
||||
.set_timing_data = can_mcan_set_timing_data,
|
||||
/*
|
||||
* MCUX MCAN data timing limits are specified in the "Data bit timing
|
||||
* and prescaler register (DBTP)" table in the SoC reference manual.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue