mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-03 03:55:22 +00:00
In order to prevent user turns on the pin-mux of devices has io-pads unexpectedly, this CL added a new device definition for host uart device. The pin-mux of host uart interface is enabled only if we set its status as "okay" in dts file of board folder. The following npcx7 drivers will meet: 1. Default status property of npcx devices with io-pads such as espi, pwm, uart, host uart and so on should be "disabled". 2. Switch pin-mux by changing status property to "okay" in dts file of board folder. Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
29 lines
634 B
Plaintext
29 lines
634 B
Plaintext
# NPCX eSPI driver configuration options
|
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ESPI_NPCX
|
|
bool "Nuvoton NPCX embedded controller (EC) ESPI driver"
|
|
depends on SOC_FAMILY_NPCX
|
|
help
|
|
This option enables the Intel Enhanced Serial Peripheral Interface
|
|
(eSPI) for NPCX family of processors.
|
|
|
|
# The default value 'y' for the existing options if ESPI_NPCX is selected.
|
|
if ESPI_NPCX
|
|
|
|
config ESPI_OOB_CHANNEL
|
|
default y
|
|
|
|
config ESPI_PERIPHERAL_8042_KBC
|
|
default y
|
|
|
|
config ESPI_PERIPHERAL_HOST_IO
|
|
default y
|
|
|
|
config ESPI_PERIPHERAL_DEBUG_PORT_80
|
|
default y
|
|
|
|
endif #ESPI_NPCX
|