1# Copyright 2022 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4config UART_NXP_S32_LINFLEXD
5	bool "LINFlexD UART driver for NXP S32 family processors"
6	default y
7	depends on DT_HAS_NXP_S32_LINFLEXD_ENABLED
8	select PINCTRL
9	select SERIAL_HAS_DRIVER
10	select SERIAL_SUPPORT_INTERRUPT
11	select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
12	help
13	  Enable the LINFlexD UART driver for NXP S32 family processors.
14
15if UART_NXP_S32_LINFLEXD
16
17config UART_NXP_S32_POLL_OUT_TIMEOUT
18	int "The maximum duration to transfer a byte data in blocking mode"
19	default 10000
20	help
21	  Maximum duration in micro-seconds to transfer a byte data in blocking mode.
22
23config UART_NXP_S32_POLL_IN_TIMEOUT
24	int "The maximum duration to receive a byte data in blocking mode"
25	default 10000
26	help
27	  Maximum duration in micro-seconds to receive a byte data in blocking mode.
28
29endif # UART_NXP_S32_LINFLEXD
30