957e263120
Update gpio 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>
14 lines
397 B
Plaintext
14 lines
397 B
Plaintext
# NPCX GPIO driver configuration options
|
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config GPIO_NPCX
|
|
bool "Nuvoton NPCX embedded controller (EC) gpio driver"
|
|
default y
|
|
depends on DT_HAS_NUVOTON_NPCX_GPIO_ENABLED
|
|
help
|
|
This option enables the GPIO driver for NPCX family of
|
|
processors.
|
|
Say y if you wish to use serial port on NPCX MCU.
|