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>
18 lines
449 B
Plaintext
18 lines
449 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# NUVOTON UART configuration
|
|
#
|
|
# Copyright (c) 2020 Linumiz
|
|
# Author: Saravanan Sekar <saravanan@linumiz.com>
|
|
|
|
config UART_NUMICRO
|
|
bool "NUVOTON MCU serial driver"
|
|
default y
|
|
depends on DT_HAS_NUVOTON_NUMICRO_UART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select HAS_NUMICRO_UART
|
|
help
|
|
This option enables the UART driver for Nuvoton Numicro
|
|
family of processors.
|
|
Say y to use serial port on Nuvoton MCU.
|