Commit | Line | Data |
---|---|---|
1a539d37 TP |
1 | Kernel driver shtc1 |
2 | =================== | |
3 | ||
4 | Supported chips: | |
b04f2f7d | 5 | |
1a539d37 | 6 | * Sensirion SHTC1 |
b04f2f7d | 7 | |
1a539d37 | 8 | Prefix: 'shtc1' |
b04f2f7d | 9 | |
1a539d37 | 10 | Addresses scanned: none |
b04f2f7d | 11 | |
1a539d37 TP |
12 | Datasheet: http://www.sensirion.com/file/datasheet_shtc1 |
13 | ||
b04f2f7d MCC |
14 | |
15 | ||
1a539d37 | 16 | * Sensirion SHTW1 |
b04f2f7d | 17 | |
1a539d37 | 18 | Prefix: 'shtw1' |
b04f2f7d | 19 | |
1a539d37 | 20 | Addresses scanned: none |
b04f2f7d | 21 | |
1a539d37 TP |
22 | Datasheet: Not publicly available |
23 | ||
b04f2f7d MCC |
24 | |
25 | ||
1a539d37 | 26 | Author: |
b04f2f7d | 27 | |
1a539d37 TP |
28 | Johannes Winkelmann <johannes.winkelmann@sensirion.com> |
29 | ||
30 | Description | |
31 | ----------- | |
32 | ||
33 | This driver implements support for the Sensirion SHTC1 chip, a humidity and | |
34 | temperature sensor. Temperature is measured in degrees celsius, relative | |
35 | humidity is expressed as a percentage. Driver can be used as well for SHTW1 | |
36 | chip, which has the same electrical interface. | |
37 | ||
38 | The device communicates with the I2C protocol. All sensors are set to I2C | |
39 | address 0x70. See Documentation/i2c/instantiating-devices for methods to | |
40 | instantiate the device. | |
41 | ||
42 | There are two options configurable by means of shtc1_platform_data: | |
b04f2f7d | 43 | |
1a539d37 TP |
44 | 1. blocking (pull the I2C clock line down while performing the measurement) or |
45 | non-blocking mode. Blocking mode will guarantee the fastest result but | |
46 | the I2C bus will be busy during that time. By default, non-blocking mode | |
47 | is used. Make sure clock-stretching works properly on your device if you | |
48 | want to use blocking mode. | |
49 | 2. high or low accuracy. High accuracy is used by default and using it is | |
50 | strongly recommended. | |
51 | ||
52 | sysfs-Interface | |
53 | --------------- | |
54 | ||
b04f2f7d MCC |
55 | temp1_input |
56 | - temperature input | |
57 | humidity1_input | |
58 | - humidity input |