zephyr/drivers/serial/Kconfig.mcux_lpsci
Kumar Gala 461b5018d3 serial: introduce SERIAL_SUPPORT_INTERRUPT Kconfig option
As not all drivers support interrupts we don't have a means to know if
we can allow UART_INTERRUPT_DRIVEN to be enabled and thus various
Kconfig options that select UART_INTERRUPT_DRIVEN.  Some drivers have a
interrupts, however not all do.  So introduce a Kconfig option to let us
know what the driver actually supports.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-06-29 07:07:31 -04:00

26 lines
425 B
Plaintext

# Kconfig - MCUXpresso SDK LPSCI
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig UART_MCUX_LPSCI
bool "MCUX LPSCI driver"
depends on HAS_MCUX && HAS_LPSCI
default n
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
Enable the MCUX LPSCI driver.
if UART_MCUX_LPSCI
menuconfig UART_MCUX_LPSCI_0
bool "UART 0"
default n
help
Enable UART 0.
endif # UART_MCUX_LPSCI