7d5215ff19
Update serial drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
27 lines
610 B
Plaintext
27 lines
610 B
Plaintext
# Microchip XEC UART configuration options
|
|
|
|
# Copyright (c) 2021 Microchip Technology Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_XEC
|
|
bool "Microchip XEC family UART driver"
|
|
default y
|
|
depends on DT_HAS_MICROCHIP_XEC_UART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
This option enables the UARTx driver for Microchip XEC MCUs.
|
|
|
|
if UART_XEC
|
|
|
|
config UART_XEC_LINE_CTRL
|
|
bool "Serial Line Control for Apps"
|
|
depends on UART_LINE_CTRL
|
|
help
|
|
This enables the API for apps to control the serial line,
|
|
such as CTS and RTS.
|
|
|
|
Says n if not sure.
|
|
|
|
endif # UART_XEC
|