zephyr/drivers/sensor/qdec_sam/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

14 lines
349 B
Plaintext

# Atmel SAM MCU family Quadrature Decoder (TC) driver configuration options
#
# Copyright (c) 2021, Piotr Mienkowski
# SPDX-License-Identifier: Apache-2.0
#
config QDEC_SAM
bool "Atmel SAM QDEC driver"
default y
depends on DT_HAS_ATMEL_SAM_TC_QDEC_ENABLED
depends on SOC_FAMILY_SAM
help
Atmel SAM MCU family Quadrature Decoder (TC) driver.