zephyr/drivers/sensor/th02/Kconfig
Piotr Mienkowski c1f8eb4182 drivers: sensor: clean up Kconfig files
- place all sensor Kconfig options in submenu
- separate device drivers and common options with a comment line
- align help text

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2017-09-21 15:47:58 -04:00

32 lines
534 B
Plaintext

#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig TH02
bool
prompt "TH02 Temperature Sensor"
default n
depends on I2C
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