Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248603
b: refs/heads/master
c: cc15c7e
h: refs/heads/master
i:
  248601: ae03da0
  248599: d00859a
v: v3
  • Loading branch information
Vivien Didelot authored and Guenter Roeck committed May 19, 2011
1 parent 677f785 commit f388e5f
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 181148ae68799f5b17f09b418b276f56e9179e99
refs/heads/master: cc15c7ebb424e45ba2c5ceecbe52d025219ee970
29 changes: 27 additions & 2 deletions trunk/Documentation/hwmon/sht15
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Kernel driver sht15
Authors:
* Wouter Horre
* Jonathan Cameron
* Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Supported chips:
* Sensirion SHT10
Expand All @@ -30,13 +31,37 @@ Description
The SHT10, SHT11, SHT15, SHT71, and SHT75 are humidity and temperature
sensors.

The devices communicate using two GPIO lines and use the default
resolution settings of 14 bits for temperature and 12 bits for humidity.
The devices communicate using two GPIO lines.

Supported resolutions for the measurements are 14 bits for temperature and 12
bits for humidity, or 12 bits for temperature and 8 bits for humidity.

The humidity calibration coefficients are programmed into an OTP memory on the
chip. These coefficients are used to internally calibrate the signals from the
sensors. Disabling the reload of those coefficients allows saving 10ms for each
measurement and decrease power consumption, while loosing on precision.

Some options may be set directly in the sht15_platform_data structure
or via sysfs attributes.

Note: The regulator supply name is set to "vcc".

Platform data
-------------

* no_otp_reload:
flag to indicate not to reload from OTP (default to false).
* low_resolution:
flag to indicate the temp/humidity resolution to use (default to false).

Sysfs interface
---------------

* temp1_input: temperature input
* humidity1_input: humidity input
* heater_enable: write 1 in this attribute to enable the on-chip heater,
0 to disable it. Be careful not to enable the heater
for too long.
* temp1_fault: if 1, this means that the voltage is low (below 2.47V) and
measurement may be invalid.
* humidity1_fault: same as temp1_fault.
Loading

0 comments on commit f388e5f

Please sign in to comment.