2022-08-07 04:25:58 +07:00
|
|
|
# Copyright 2022 NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-12-27 21:17:35 +07:00
|
|
|
config UART_NXP_S32_LINFLEXD
|
2022-08-07 04:25:58 +07:00
|
|
|
bool "LINFlexD UART driver for NXP S32 family processors"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_S32_LINFLEXD_ENABLED
|
2024-09-25 13:02:41 +00:00
|
|
|
select PINCTRL
|
2022-08-07 04:25:58 +07:00
|
|
|
select SERIAL_HAS_DRIVER
|
|
|
|
select SERIAL_SUPPORT_INTERRUPT
|
2023-09-26 11:31:13 +07:00
|
|
|
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
|
2022-08-07 04:25:58 +07:00
|
|
|
help
|
|
|
|
Enable the LINFlexD UART driver for NXP S32 family processors.
|
|
|
|
|
2022-12-27 21:17:35 +07:00
|
|
|
if UART_NXP_S32_LINFLEXD
|
2022-08-07 04:25:58 +07:00
|
|
|
|
2022-12-27 21:17:35 +07:00
|
|
|
config UART_NXP_S32_POLL_OUT_TIMEOUT
|
2022-08-07 04:25:58 +07:00
|
|
|
int "The maximum duration to transfer a byte data in blocking mode"
|
|
|
|
default 10000
|
|
|
|
help
|
|
|
|
Maximum duration in micro-seconds to transfer a byte data in blocking mode.
|
|
|
|
|
2022-12-27 21:17:35 +07:00
|
|
|
config UART_NXP_S32_POLL_IN_TIMEOUT
|
2022-08-07 04:25:58 +07:00
|
|
|
int "The maximum duration to receive a byte data in blocking mode"
|
|
|
|
default 10000
|
|
|
|
help
|
|
|
|
Maximum duration in micro-seconds to receive a byte data in blocking mode.
|
|
|
|
|
2022-12-27 21:17:35 +07:00
|
|
|
endif # UART_NXP_S32_LINFLEXD
|