1# NPCX ADC driver configuration options 2 3# Copyright (c) 2020 Nuvoton Technology Corporation. 4# SPDX-License-Identifier: Apache-2.0 5 6config ADC_NPCX 7 bool "Nuvoton NPCX embedded controller (EC) ADC driver" 8 default y 9 depends on DT_HAS_NUVOTON_NPCX_ADC_ENABLED 10 select PINCTRL 11 help 12 This option enables the ADC driver for NPCX family of 13 processors. 14 Say y if you wish to use ADC channels on NPCX MCU. 15 16if ADC_NPCX 17 18config ADC_NPCX_CMP_V1 19 bool "ADC comparator version 1 support" 20 default y if SOC_SERIES_NPCX7 || SOC_SERIES_NPCX9 21 help 22 This option enables ADC comparator V1 support. 23 24config ADC_NPCX_CMP_V2 25 bool "ADC comparator version 2 support" 26 default y if SOC_SERIES_NPCX4 27 help 28 This option enables ADC comparator V2 support. 29 30endif #ADC_NPCX 31