zephyr/drivers/sensor/ite_vcmp_it8xxx2/Kconfig

15 lines
492 B
Plaintext

# ITE Voltage Comparator driver configuration options
# Copyright (c) 2022 ITE Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
config VCMP_IT8XXX2
bool "ITE it8xxx2 Voltage Comparator"
default y
depends on DT_HAS_ITE_IT8XXX2_VCMP_ENABLED
depends on SOC_IT8XXX2 && ADC_ITE_IT8XXX2
help
This option enables the ITE it8xxx2 voltage comparator,
it8xxx2 supports six 10-bit resolution voltage comparator
channels, and the input of each comparator comes from ADC pin.