diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2011-04-12 15:34:36 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-05-19 11:19:33 -0400 |
commit | 99a0378de9f887fd4d501f1baa50aaf16d01a8e8 (patch) | |
tree | 1c13bd8f5c89eccfd94e2c8e61323dd70f0a5191 /Documentation/hwmon | |
parent | 83bffbce745795572d20f0109395cb61690c6dcf (diff) |
hwmon: (sht15) general code clean-up
* Add a documentation file for the device.
* Respect a bit more the kernel-doc syntax.
* Rename some variables for clarity.
* Use bool type for flags.
* Use an enum for states (actions being done).
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/sht15 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/hwmon/sht15 b/Documentation/hwmon/sht15 new file mode 100644 index 000000000000..2919c516fdbc --- /dev/null +++ b/Documentation/hwmon/sht15 | |||
@@ -0,0 +1,42 @@ | |||
1 | Kernel driver sht15 | ||
2 | =================== | ||
3 | |||
4 | Authors: | ||
5 | * Wouter Horre | ||
6 | * Jonathan Cameron | ||
7 | |||
8 | Supported chips: | ||
9 | * Sensirion SHT10 | ||
10 | Prefix: 'sht10' | ||
11 | |||
12 | * Sensirion SHT11 | ||
13 | Prefix: 'sht11' | ||
14 | |||
15 | * Sensirion SHT15 | ||
16 | Prefix: 'sht15' | ||
17 | |||
18 | * Sensirion SHT71 | ||
19 | Prefix: 'sht71' | ||
20 | |||
21 | * Sensirion SHT75 | ||
22 | Prefix: 'sht75' | ||
23 | |||
24 | Datasheet: Publicly available at the Sensirion website | ||
25 | http://www.sensirion.ch/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf | ||
26 | |||
27 | Description | ||
28 | ----------- | ||
29 | |||
30 | The SHT10, SHT11, SHT15, SHT71, and SHT75 are humidity and temperature | ||
31 | sensors. | ||
32 | |||
33 | The devices communicate using two GPIO lines and use the default | ||
34 | resolution settings of 14 bits for temperature and 12 bits for humidity. | ||
35 | |||
36 | Note: The regulator supply name is set to "vcc". | ||
37 | |||
38 | Sysfs interface | ||
39 | --------------- | ||
40 | |||
41 | * temp1_input: temperature input | ||
42 | * humidity1_input: humidity input | ||