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

23 lines
584 B
Plaintext

# TMP108 temperature sensor configuration options
# Copyright (c) 2021 Jimmy Johnson <catch22@fastmail.net>
# SPDX-License-Identifier: Apache-2.0
menuconfig TMP108
bool "TMP108 Temperature Sensor"
default y
depends on DT_HAS_TI_TMP108_ENABLED
depends on I2C
help
Enable driver for the TMP108 temperature sensor.
if TMP108
config TMP108_ALERT_INTERRUPTS
bool "Allow interrupts to service over and under temp alerts"
help
This will set up interrupts to service under and over temp alerts
see TMP108 spec sheet for more information on how these work.
endif # TMP108