zephyr/drivers/serial/Kconfig.mcux_lpuart
Mahesh Mahadevan 301ebf83f3 drivers: uart: Use the NXP Flexcomm driver to interrupt handling
The Low Power Flexcomm driver manages the interrupt handling
and provides an API to register interrupt callbacks.
Register the NXP LPUART interrupt handler.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-13 22:38:46 +00:00

26 lines
624 B
Plaintext

# MCUXpresso SDK LPUART
# Copyright (c) 2017, NXP
# SPDX-License-Identifier: Apache-2.0
config UART_MCUX_LPUART
bool "MCUX LPUART driver"
default y
depends on DT_HAS_NXP_KINETIS_LPUART_ENABLED
depends on CLOCK_CONTROL
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select SERIAL_SUPPORT_ASYNC
select DMA if UART_ASYNC_API
select PINCTRL
select MFD if DT_HAS_NXP_LP_FLEXCOMM_ENABLED
help
Enable the MCUX LPUART driver.
config UART_MCUX_LPUART_ISR_SUPPORT
bool
depends on UART_MCUX_LPUART
default y if UART_INTERRUPT_DRIVEN || PM || UART_ASYNC_API
help
Enable UART interrupt service routine.