Merge tag 'mips_fixes_5.2_2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips...
[linux-2.6/linux-2.6-arm.git] / Documentation / hwmon / shtc1.rst
blobaa116332ba26087a35f72b1541ee388ac21b7d1f
1 Kernel driver shtc1
2 ===================
4 Supported chips:
6   * Sensirion SHTC1
8     Prefix: 'shtc1'
10     Addresses scanned: none
12     Datasheet: http://www.sensirion.com/file/datasheet_shtc1
16   * Sensirion SHTW1
18     Prefix: 'shtw1'
20     Addresses scanned: none
22     Datasheet: Not publicly available
26 Author:
28   Johannes Winkelmann <johannes.winkelmann@sensirion.com>
30 Description
31 -----------
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.
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.
42 There are two options configurable by means of shtc1_platform_data:
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.
52 sysfs-Interface
53 ---------------
55 temp1_input
56         - temperature input
57 humidity1_input
58         - humidity input