zephyr/drivers/serial/Kconfig.npcx
Jun Lin 69e85b25fe board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards
The CONFIG_PINCTRL is removed from the board's defconfig files.
Drivers which use pin control function should add "select PINCTRL"
in their Kconfig files.

Fixes #78619

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2024-11-07 08:59:14 -08:00

27 lines
914 B
Text

# NPCX UART driver configuration options
# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
DT_UART_NPCX:=$(dt_nodelabel_path,uart1)
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
select PINCTRL
help
This option enables the UART driver for NPCX family of
processors.
Say y if you wish to use serial port on NPCX MCU.
# Expose this option when the reg porperty has two register base address.
# i.e. One UART register bass address and one MDMA register base address.
config UART_NPCX_USE_MDMA
bool "Nuvoton NPCX embedded controller (EC) serial driver DMA support"
depends on UART_NPCX && "$(dt_node_reg_addr_hex,$(DT_UART_NPCX),1)" != 0
select SERIAL_SUPPORT_ASYNC
help
Enable support for npcx UART DMA mode.