blob: f38c4c9d2f74e2693f2217807c67a3742ebf595a [file] [log] [blame]
Tomas Pop1a539d32014-06-05 15:24:19 -07001Kernel driver shtc1
2===================
3
4Supported chips:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03005
Tomas Pop1a539d32014-06-05 15:24:19 -07006 * Sensirion SHTC1
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03007
Tomas Pop1a539d32014-06-05 15:24:19 -07008 Prefix: 'shtc1'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -03009
Tomas Pop1a539d32014-06-05 15:24:19 -070010 Addresses scanned: none
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030011
Alexander A. Klimovad736c12020-07-19 19:55:12 +020012 Datasheet: https://www.sensirion.com/file/datasheet_shtc1
Tomas Pop1a539d32014-06-05 15:24:19 -070013
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030014
15
Tomas Pop1a539d32014-06-05 15:24:19 -070016 * Sensirion SHTW1
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030017
Tomas Pop1a539d32014-06-05 15:24:19 -070018 Prefix: 'shtw1'
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030019
Tomas Pop1a539d32014-06-05 15:24:19 -070020 Addresses scanned: none
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030021
Alexander A. Klimovad736c12020-07-19 19:55:12 +020022 Datasheet: https://www.sensirion.com/file/datasheet_shtw1
Dan Robertsonffd96862019-09-05 01:45:53 +000023
24
25
26 * Sensirion SHTC3
27
28 Prefix: 'shtc3'
29
30 Addresses scanned: none
31
Alexander A. Klimovad736c12020-07-19 19:55:12 +020032 Datasheet: https://www.sensirion.com/file/datasheet_shtc3
Tomas Pop1a539d32014-06-05 15:24:19 -070033
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030034
35
Tomas Pop1a539d32014-06-05 15:24:19 -070036Author:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030037
Tomas Pop1a539d32014-06-05 15:24:19 -070038 Johannes Winkelmann <johannes.winkelmann@sensirion.com>
39
40Description
41-----------
42
Dan Robertsonffd96862019-09-05 01:45:53 +000043This 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.
Tomas Pop1a539d32014-06-05 15:24:19 -070046
47The device communicates with the I2C protocol. All sensors are set to I2C
Mauro Carvalho Chehabccf988b2019-07-26 09:51:16 -030048address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
Tomas Pop1a539d32014-06-05 15:24:19 -070049instantiate the device.
50
51There are two options configurable by means of shtc1_platform_data:
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030052
Tomas Pop1a539d32014-06-05 15:24:19 -0700531. 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
Mauro Carvalho Chehabb04f2f72019-04-17 06:46:28 -030064temp1_input
65 - temperature input
66humidity1_input
67 - humidity input