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>
16 lines
458 B
Plaintext
16 lines
458 B
Plaintext
# NPCX UART driver configuration options
|
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_NPCX
|
|
bool "Nuvoton NPCX embedded controller (EC) serial driver"
|
|
default y
|
|
depends on DT_HAS_NUVOTON_NPCX_UART_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
This option enables the UART driver for NPCX family of
|
|
processors.
|
|
Say y if you wish to use serial port on NPCX MCU.
|