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>
12 lines
301 B
Plaintext
12 lines
301 B
Plaintext
# Copyright (c) 2018, Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config QDEC_NRFX
|
|
bool "Nordic QDEC nrfx driver"
|
|
default y
|
|
depends on DT_HAS_NORDIC_NRF_QDEC_ENABLED
|
|
depends on HAS_HW_NRF_QDEC0
|
|
select NRFX_QDEC
|
|
help
|
|
Enable support for nrfx QDEC driver for nRF MCU series.
|