summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorDavid Frey2016-06-02 09:59:11 +0200
committerGuenter Roeck2016-06-28 03:58:03 +0200
commit7c84f7f80d6fcea36246b793d06c3555ca53ddcd (patch)
tree28469d58b195ac6a9c957b14a3c2f1ae65bfd60a /drivers/hwmon/Kconfig
parenthwmon: (max1668) Fix typo in documentation (diff)
downloadkernel-qcow2-linux-7c84f7f80d6fcea36246b793d06c3555ca53ddcd.tar.gz
kernel-qcow2-linux-7c84f7f80d6fcea36246b793d06c3555ca53ddcd.tar.xz
kernel-qcow2-linux-7c84f7f80d6fcea36246b793d06c3555ca53ddcd.zip
hwmon: add support for Sensirion SHT3x sensors
This driver implements support for the Sensirion SHT3x-DIS chip, a humidity and temperature sensor. Temperature is measured in degrees celsius, relative humidity is expressed as a percentage. In the sysfs interface, all values are scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. Signed-off-by: Pascal Sachs <pascal.sachs@sensirion.com> [groeck: Fixed 'Variable length array is used' gcc warning] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index ff940075bb90..e0be99a4615c 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1265,6 +1265,17 @@ config SENSORS_SHT21
This driver can also be built as a module. If so, the module
will be called sht21.
+config SENSORS_SHT3x
+ tristate "Sensiron humidity and temperature sensors. SHT3x and compat."
+ depends on I2C
+ select CRC8
+ help
+ If you say yes here you get support for the Sensiron SHT30 and SHT31
+ humidity and temperature sensors.
+
+ This driver can also be built as a module. If so, the module
+ will be called sht3x.
+
config SENSORS_SHTC1
tristate "Sensiron humidity and temperature sensors. SHTC1 and compat."
depends on I2C