zephyr/drivers/sensor/ds18b20/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
325 B
Plaintext

# DS18B20 temperature and humidity sensor configuration options
# Copyright (c) 2022 Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
config DS18B20
bool "DS18B20 Temperature Sensor"
default y
depends on DT_HAS_MAXIM_DS18B20_ENABLED
depends on W1_NET
help
Enable driver for DS18B20 1-Wire temperature sensors.