2016-10-08 19:32:44 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-10-08 19:32:44 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig TH02
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "TH02 Temperature Sensor"
|
2017-09-22 02:28:16 +08:00
|
|
|
depends on I2C
|
2016-10-08 19:32:44 +08:00
|
|
|
help
|
|
|
|
Enable driver for the TH02 temperature sensor.
|
|
|
|
|
|
|
|
if TH02
|
|
|
|
config TH02_NAME
|
2018-08-14 22:19:20 +08:00
|
|
|
string "Driver name"
|
2016-10-08 19:32:44 +08:00
|
|
|
default "TH02"
|
|
|
|
help
|
|
|
|
Device name with which the TH02 sensor is identified.
|
|
|
|
|
|
|
|
config TH02_I2C_MASTER_DEV_NAME
|
2018-08-14 22:19:20 +08:00
|
|
|
string "I2C Master"
|
2016-10-08 19:32:44 +08:00
|
|
|
default "I2C_0"
|
|
|
|
help
|
|
|
|
The device name of the I2C master device to which the TH02
|
|
|
|
chip is connected.
|
|
|
|
|
|
|
|
endif
|