1# NPCX UART driver configuration options 2 3# Copyright (c) 2020 Nuvoton Technology Corporation. 4# SPDX-License-Identifier: Apache-2.0 5 6DT_UART_NPCX:=$(dt_nodelabel_path,uart1) 7 8config UART_NPCX 9 bool "Nuvoton NPCX embedded controller (EC) serial driver" 10 default y 11 depends on DT_HAS_NUVOTON_NPCX_UART_ENABLED 12 select SERIAL_HAS_DRIVER 13 select SERIAL_SUPPORT_INTERRUPT 14 select PINCTRL 15 help 16 This option enables the UART driver for NPCX family of 17 processors. 18 Say y if you wish to use serial port on NPCX MCU. 19 20# Expose this option when the reg porperty has two register base address. 21# i.e. One UART register bass address and one MDMA register base address. 22config UART_NPCX_USE_MDMA 23 bool "Nuvoton NPCX embedded controller (EC) serial driver DMA support" 24 depends on UART_NPCX && "$(dt_node_reg_addr_hex,$(DT_UART_NPCX),1)" != 0 25 select SERIAL_SUPPORT_ASYNC 26 help 27 Enable support for npcx UART DMA mode. 28