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>
11 lines
244 B
Plaintext
11 lines
244 B
Plaintext
# Copyright (c) 2016 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config TH02
|
|
bool "TH02 Temperature Sensor"
|
|
default y
|
|
depends on DT_HAS_HOPERF_TH02_ENABLED
|
|
depends on I2C
|
|
help
|
|
Enable driver for the TH02 temperature sensor.
|