zephyr/drivers/sensor/mcux_acmp/Kconfig
Kumar Gala f0441fba58 drivers: sensor: Update drivers to use devicetree Kconfig symbol
Update sensor drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-22 02:20:18 -05:00

21 lines
515 B
Plaintext

# NXP MCUX analog comparator (ACMP) configuration options
# Copyright (c) 2020 Vestas Wind Systems A/S
# SPDX-License-Identifier: Apache-2.0
config MCUX_ACMP
bool "NXP MCUX Analog Comparator (ACMP)"
default y
depends on DT_HAS_NXP_KINETIS_ACMP_ENABLED
depends on HAS_MCUX_ACMP
select PINCTRL
help
Enable driver for the NXP MCUX Analog Comparator (ACMP).
config MCUX_ACMP_TRIGGER
bool "Trigger support"
depends on MCUX_ACMP
help
Enable trigger support for the NXP MCUX Analog Comparator
(ACMP).