251eb40f5c
Data sheet at: http://www.sensirion.ch/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf These sensors communicate over a 2 wire bus running a device specific protocol. The complexity of the driver is mainly due to handling the substantial delays between requesting a reading and the device pulling the data line low to indicate that the data is available. This is handled by an interrupt that is disabled under all other conditions. I wasn't terribly clear on the best way to handle this, so comments on that aspect would be particularly welcome! Interpretation of the temperature depends on knowing the supply voltage. If configured in a board config as a regulator consumer this is obtained from the regulator subsystem. If not it should be provided in the platform data. I've placed this driver in the hwmon subsystem as it is definitely a device that may be used for hardware monitoring and with it's relatively slow response times (up to 120 millisecs to get a reading) a caching strategy certainly seems to make sense! Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
ams | ||
Kconfig | ||
Makefile | ||
abituguru.c | ||
abituguru3.c | ||
ad7414.c | ||
ad7418.c | ||
adcxx.c | ||
adm1021.c | ||
adm1025.c | ||
adm1026.c | ||
adm1029.c | ||
adm1031.c | ||
adm9240.c | ||
ads7828.c | ||
adt7462.c | ||
adt7470.c | ||
adt7473.c | ||
adt7475.c | ||
applesmc.c | ||
asb100.c | ||
asus_atk0110.c | ||
atxp1.c | ||
coretemp.c | ||
dme1737.c | ||
ds1621.c | ||
f71805f.c | ||
f71882fg.c | ||
f75375s.c | ||
fscher.c | ||
fschmd.c | ||
fscpos.c | ||
g760a.c | ||
gl518sm.c | ||
gl520sm.c | ||
hdaps.c | ||
hp_accel.c | ||
hwmon-vid.c | ||
hwmon.c | ||
i5k_amb.c | ||
ibmaem.c | ||
ibmpex.c | ||
it87.c | ||
k8temp.c | ||
lis3lv02d.c | ||
lis3lv02d.h | ||
lis3lv02d_spi.c | ||
lm63.c | ||
lm70.c | ||
lm75.c | ||
lm75.h | ||
lm77.c | ||
lm78.c | ||
lm80.c | ||
lm83.c | ||
lm85.c | ||
lm87.c | ||
lm90.c | ||
lm92.c | ||
lm93.c | ||
lm95241.c | ||
ltc4215.c | ||
ltc4245.c | ||
max1111.c | ||
max1619.c | ||
max6650.c | ||
pc87360.c | ||
pc87427.c | ||
pcf8591.c | ||
sht15.c | ||
sis5595.c | ||
smsc47b397.c | ||
smsc47m1.c | ||
smsc47m192.c | ||
thmc50.c | ||
ultra45_env.c | ||
via686a.c | ||
vt1211.c | ||
vt8231.c | ||
w83l785ts.c | ||
w83l786ng.c | ||
w83627ehf.c | ||
w83627hf.c | ||
w83781d.c | ||
w83791d.c | ||
w83792d.c | ||
w83793.c |