2024-01-12 18:54:05 +08:00
|
|
|
# Copyright 2022-2024 NXP
|
2022-11-30 09:47:14 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config CAN_NXP_S32_CANXL
|
|
|
|
bool "NXP S32 CANXL driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_S32_CANXL_ENABLED
|
2023-09-18 13:30:49 +08:00
|
|
|
select CLOCK_CONTROL
|
2022-11-30 09:47:14 +08:00
|
|
|
help
|
|
|
|
Enable support for NXP S32 CANXL driver.
|
|
|
|
|
|
|
|
if CAN_NXP_S32_CANXL
|
2024-01-12 18:54:05 +08:00
|
|
|
config CAN_NXP_S32_RX_FIFO
|
|
|
|
bool "NXP S32 CANXL uses RX FIFO"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
If this is enabled, NXP S32 CANXL uses RX FIFO.
|
|
|
|
Otherwise NXP S32 CANXL uses RX Message Descriptor.
|
|
|
|
|
2022-11-30 09:47:14 +08:00
|
|
|
config CAN_NXP_S32_MAX_RX
|
|
|
|
int "Maximum number of RX descriptors"
|
|
|
|
default 16
|
2024-01-12 18:54:05 +08:00
|
|
|
range 1 32 if CAN_NXP_S32_RX_FIFO
|
|
|
|
range 1 128 if !CAN_NXP_S32_RX_FIFO
|
2022-11-30 09:47:14 +08:00
|
|
|
help
|
|
|
|
Maximum number of RX descriptors.
|
|
|
|
|
|
|
|
config CAN_NXP_S32_MAX_TX
|
|
|
|
int "Maximum number of TX descriptors"
|
|
|
|
default 16
|
|
|
|
range 1 128
|
|
|
|
help
|
|
|
|
Maximum number of TX descriptors.
|
|
|
|
endif # CAN_NXP_S32_CANXL
|