1# Copyright 2022-2024 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4config CAN_NXP_S32_CANXL 5 bool "NXP S32 CANXL driver" 6 default y 7 depends on DT_HAS_NXP_S32_CANXL_ENABLED 8 select CLOCK_CONTROL 9 select PINCTRL 10 help 11 Enable support for NXP S32 CANXL driver. 12 13if CAN_NXP_S32_CANXL 14config CAN_NXP_S32_RX_FIFO 15 bool "NXP S32 CANXL uses RX FIFO" 16 default y 17 help 18 If this is enabled, NXP S32 CANXL uses RX FIFO. 19 Otherwise NXP S32 CANXL uses RX Message Descriptor. 20 21config CAN_NXP_S32_MAX_RX 22 int "Maximum number of RX descriptors" 23 default 16 24 range 1 32 if CAN_NXP_S32_RX_FIFO 25 range 1 128 if !CAN_NXP_S32_RX_FIFO 26 help 27 Maximum number of RX descriptors. 28 29config CAN_NXP_S32_MAX_TX 30 int "Maximum number of TX descriptors" 31 default 16 32 range 1 128 33 help 34 Maximum number of TX descriptors. 35endif # CAN_NXP_S32_CANXL 36