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 | |
ad736c1a | 12 | Datasheet: https://www.sensirion.com/file/datasheet_shtc1 |
1a539d37 | 13 | |
b04f2f7d MCC |
14 | |
15 | ||
1a539d37 | 16 | * Sensirion SHTW1 |
b04f2f7d | 17 | |
1a539d37 | 18 | Prefix: 'shtw1' |
b04f2f7d | 19 | |
1a539d37 | 20 | Addresses scanned: none |
b04f2f7d | 21 | |
ad736c1a | 22 | Datasheet: https://www.sensirion.com/file/datasheet_shtw1 |
ffd96868 DR |
23 | |
24 | ||
25 | ||
26 | * Sensirion SHTC3 | |
27 | ||
28 | Prefix: 'shtc3' | |
29 | ||
30 | Addresses scanned: none | |
31 | ||
ad736c1a | 32 | Datasheet: https://www.sensirion.com/file/datasheet_shtc3 |
1a539d37 | 33 | |
b04f2f7d MCC |
34 | |
35 | ||
1a539d37 | 36 | Author: |
b04f2f7d | 37 | |
1a539d37 TP |
38 | Johannes Winkelmann <johannes.winkelmann@sensirion.com> |
39 | ||
40 | Description | |
41 | ----------- | |
42 | ||
ffd96868 DR |
43 | This driver implements support for the Sensirion SHTC1, SHTW1, and SHTC3 |
44 | chips, a humidity and temperature sensor. Temperature is measured in degrees | |
45 | celsius, relative humidity is expressed as a percentage. | |
1a539d37 TP |
46 | |
47 | The device communicates with the I2C protocol. All sensors are set to I2C | |
ccf988b6 | 48 | address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to |
1a539d37 TP |
49 | instantiate the device. |
50 | ||
51 | There are two options configurable by means of shtc1_platform_data: | |
b04f2f7d | 52 | |
1a539d37 TP |
53 | 1. blocking (pull the I2C clock line down while performing the measurement) or |
54 | non-blocking mode. Blocking mode will guarantee the fastest result but | |
55 | the I2C bus will be busy during that time. By default, non-blocking mode | |
56 | is used. Make sure clock-stretching works properly on your device if you | |
57 | want to use blocking mode. | |
58 | 2. high or low accuracy. High accuracy is used by default and using it is | |
59 | strongly recommended. | |
60 | ||
61 | sysfs-Interface | |
62 | --------------- | |
63 | ||
b04f2f7d MCC |
64 | temp1_input |
65 | - temperature input | |
66 | humidity1_input | |
67 | - humidity input |