zephyr/drivers/adc/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

30 lines
763 B
Text

# NPCX ADC driver configuration options
# Copyright (c) 2020 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
config ADC_NPCX
bool "Nuvoton NPCX embedded controller (EC) ADC driver"
default y
depends on DT_HAS_NUVOTON_NPCX_ADC_ENABLED
select PINCTRL
help
This option enables the ADC driver for NPCX family of
processors.
Say y if you wish to use ADC channels on NPCX MCU.
if ADC_NPCX
config ADC_NPCX_CMP_V1
bool "ADC comparator version 1 support"
default y if SOC_SERIES_NPCX7 || SOC_SERIES_NPCX9
help
This option enables ADC comparator V1 support.
config ADC_NPCX_CMP_V2
bool "ADC comparator version 2 support"
default y if SOC_SERIES_NPCX4
help
This option enables ADC comparator V2 support.
endif #ADC_NPCX