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
|
|
|
|
bool
|
|
|
|
prompt "TH02 Temperature Sensor"
|
|
|
|
default n
|
2017-01-07 21:36:28 +08:00
|
|
|
depends on SENSOR && I2C
|
2016-10-08 19:32:44 +08:00
|
|
|
help
|
|
|
|
Enable driver for the TH02 temperature sensor.
|
|
|
|
|
|
|
|
if TH02
|
|
|
|
config TH02_NAME
|
|
|
|
string
|
|
|
|
prompt "Driver name"
|
|
|
|
default "TH02"
|
|
|
|
help
|
|
|
|
Device name with which the TH02 sensor is identified.
|
|
|
|
|
|
|
|
config TH02_I2C_MASTER_DEV_NAME
|
|
|
|
string
|
|
|
|
prompt "I2C Master"
|
|
|
|
default "I2C_0"
|
|
|
|
help
|
|
|
|
The device name of the I2C master device to which the TH02
|
|
|
|
chip is connected.
|
|
|
|
|
|
|
|
endif
|