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

13 lines
335 B
Plaintext

# DHT Temperature and Humidity Sensor configuration options
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config DHT
bool "DHT Temperature and Humidity Sensor"
default y
depends on DT_HAS_AOSONG_DHT_ENABLED
depends on GPIO
help
Enable driver for the DHT temperature and humidity sensor family.