Merge tag 'mips_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[sfrench/cifs-2.6.git] / Documentation / hwmon / shtc1.rst
1 Kernel driver shtc1
2 ===================
3
4 Supported 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
26 Author:
27
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:
43
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
55 temp1_input
56         - temperature input
57 humidity1_input
58         - humidity input