xref: /openbmc/linux/Documentation/hwmon/shtc1.rst (revision 22d55f02)
1Kernel driver shtc1
2===================
3
4Supported chips:
5
6  * Sensirion SHTC1
7
8    Prefix: 'shtc1'
9
10    Addresses scanned: none
11
12    Datasheet: http://www.sensirion.com/file/datasheet_shtc1
13
14
15
16  * Sensirion SHTW1
17
18    Prefix: 'shtw1'
19
20    Addresses scanned: none
21
22    Datasheet: Not publicly available
23
24
25
26Author:
27
28  Johannes Winkelmann <johannes.winkelmann@sensirion.com>
29
30Description
31-----------
32
33This driver implements support for the Sensirion SHTC1 chip, a humidity and
34temperature sensor. Temperature is measured in degrees celsius, relative
35humidity is expressed as a percentage. Driver can be used as well for SHTW1
36chip, which has the same electrical interface.
37
38The device communicates with the I2C protocol. All sensors are set to I2C
39address 0x70. See Documentation/i2c/instantiating-devices for methods to
40instantiate the device.
41
42There are two options configurable by means of shtc1_platform_data:
43
441. 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.
492. high or low accuracy. High accuracy is used by default and using it is
50   strongly recommended.
51
52sysfs-Interface
53---------------
54
55temp1_input
56	- temperature input
57humidity1_input
58	- humidity input
59