zephyr/drivers/adc/Kconfig.xec
Kumar Gala d734f273ba drivers: adc: Update drivers to use devicetree Kconfig symbol
Update adc 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>
2022-07-22 07:51:24 -05:00

20 lines
514 B
Plaintext

# Microchip XEC ADC configuration
# Copyright (c) 2019 Intel Corporation
# Copyright (c) 2021 Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0
config ADC_XEC
bool "Microchip XEC series ADC driver"
default y
depends on DT_HAS_MICROCHIP_XEC_ADC_ENABLED
help
Enable ADC driver for Microchip XEC MCU series.
config ADC_XEC_V2
bool "Microchip XEC series ADC V2 driver"
default y
depends on DT_HAS_MICROCHIP_XEC_ADC_V2_ENABLED
help
Enable ADC driver for Microchip XEC MEC172x MCU series.