xref: /openbmc/linux/Documentation/hwmon/shtc1.rst (revision 48cc39c3)
1Kernel driver shtc1
2===================
3
4Supported chips:
5
6  * Sensirion SHTC1
7
8    Prefix: 'shtc1'
9
10    Addresses scanned: none
11
12    Datasheet: https://www.sensirion.com/file/datasheet_shtc1
13
14
15
16  * Sensirion SHTW1
17
18    Prefix: 'shtw1'
19
20    Addresses scanned: none
21
22    Datasheet: https://www.sensirion.com/file/datasheet_shtw1
23
24
25
26  * Sensirion SHTC3
27
28    Prefix: 'shtc3'
29
30    Addresses scanned: none
31
32    Datasheet: https://www.sensirion.com/file/datasheet_shtc3
33
34
35
36Author:
37
38  Johannes Winkelmann <johannes.winkelmann@sensirion.com>
39
40Description
41-----------
42
43This driver implements support for the Sensirion SHTC1, SHTW1, and SHTC3
44chips, a humidity and temperature sensor. Temperature is measured in degrees
45celsius, relative humidity is expressed as a percentage.
46
47The device communicates with the I2C protocol. All sensors are set to I2C
48address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
49instantiate the device.
50
51There are two options configurable by means of shtc1_platform_data:
52
531. 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.
582. high or low accuracy. High accuracy is used by default and using it is
59   strongly recommended.
60
61sysfs-Interface
62---------------
63
64temp1_input
65	- temperature input
66humidity1_input
67	- humidity input
68