^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver shtc1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ===================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Sensirion SHTC1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Prefix: 'shtc1'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Addresses scanned: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Datasheet: https://www.sensirion.com/file/datasheet_shtc1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) * Sensirion SHTW1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Prefix: 'shtw1'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Addresses scanned: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Datasheet: https://www.sensirion.com/file/datasheet_shtw1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) * Sensirion SHTC3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Prefix: 'shtc3'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Addresses scanned: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Datasheet: https://www.sensirion.com/file/datasheet_shtc3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Author:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Johannes Winkelmann <johannes.winkelmann@sensirion.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) This driver implements support for the Sensirion SHTC1, SHTW1, and SHTC3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) chips, a humidity and temperature sensor. Temperature is measured in degrees
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) celsius, relative humidity is expressed as a percentage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) The device communicates with the I2C protocol. All sensors are set to I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) instantiate the device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) There are two options configurable by means of shtc1_platform_data:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 1. blocking (pull the I2C clock line down while performing the measurement) or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) non-blocking mode. Blocking mode will guarantee the fastest result but
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) the I2C bus will be busy during that time. By default, non-blocking mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) is used. Make sure clock-stretching works properly on your device if you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) want to use blocking mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 2. high or low accuracy. High accuracy is used by default and using it is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) strongly recommended.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) sysfs-Interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) temp1_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) - temperature input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) humidity1_input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) - humidity input