hwmon: add support for Sensirion SHT3x sensors
authorDavid Frey <david.frey@sensirion.com>
Thu, 2 Jun 2016 07:59:11 +0000 (09:59 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 28 Jun 2016 01:58:03 +0000 (18:58 -0700)
commit7c84f7f80d6fcea36246b793d06c3555ca53ddcd
tree28469d58b195ac6a9c957b14a3c2f1ae65bfd60a
parent76b5808e8cb9d8be214a1bbf613e19b6e3ebb3fb
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>
Documentation/hwmon/sht3x [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/sht3x.c [new file with mode: 0644]
include/linux/platform_data/sht3x.h [new file with mode: 0644]