zephyr/drivers/sensor/tmp116/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
324 B
Plaintext

# TMP116 temperature sensor configuration options
# Copyright (c) 2019 Centaur Analytics, Inc
# SPDX-License-Identifier: Apache-2.0
config TMP116
bool "TMP116 and TMP117 Temperature Sensors"
default y
depends on DT_HAS_TI_TMP116_ENABLED
depends on I2C
help
Enable driver for TMP116 and TMP117 temperature sensors.