zephyr/drivers/can/Kconfig.nxp_s32
Manuel Argüelles af7d972f4c can: nxp_s32_canxl: use clock control APIs
Use clock control API to retrieve the module's frequency and
update the boards using it to provide the source clocks.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-09-21 13:37:19 +02:00

29 lines
620 B
Plaintext

# Copyright 2022-2023 NXP
# 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
select CLOCK_CONTROL
help
Enable support for NXP S32 CANXL driver.
if CAN_NXP_S32_CANXL
config CAN_NXP_S32_MAX_RX
int "Maximum number of RX descriptors"
depends on CAN_NXP_S32_CANXL
default 16
range 1 128
help
Maximum number of RX descriptors.
config CAN_NXP_S32_MAX_TX
int "Maximum number of TX descriptors"
depends on CAN_NXP_S32_CANXL
default 16
range 1 128
help
Maximum number of TX descriptors.
endif # CAN_NXP_S32_CANXL