drivers: can: mcan: add generic support for can_get_max_filters()

Add generic support for can_get_max_filters() to the Bosch M_CAN
base driver and use it in all driver frontends.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-03-18 10:37:37 +01:00 committed by Anas Nashif
commit 5fd079bd68
6 changed files with 17 additions and 23 deletions

View file

@ -159,6 +159,7 @@ static const struct can_driver_api mcux_mcan_driver_api = {
.get_state = mcux_mcan_get_state,
.set_state_change_callback = mcux_mcan_set_state_change_callback,
.get_core_clock = mcux_mcan_get_core_clock,
.get_max_filters = can_mcan_get_max_filters,
.get_max_bitrate = mcux_mcan_get_max_bitrate,
/*
* MCUX MCAN timing limits are specified in the "Nominal bit timing and