diff options
| author | Andrei Lalaev <andrey.lalaev@gmail.com> | 2025-02-17 06:10:55 +0100 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2025-03-18 08:03:40 -0700 |
| commit | bf1bb26f23f10f835e596337604d32d34ab798a6 (patch) | |
| tree | d9734231b9b10160596cd75ea2a176dabbe0c6de /Documentation/hwmon | |
| parent | fb36a0b3398a791d7266150f63b60e4cf1c98f34 (diff) | |
| download | linux-bf1bb26f23f10f835e596337604d32d34ab798a6.tar.gz | |
hwmon: add driver for HTU31
Add base support for HTU31 temperature and humidity sensor.
Besides temperature and humidity values, the driver also exports a 24-bit
heater control to sysfs and serial number to debugfs.
Signed-off-by: Andrei Lalaev <andrey.lalaev@gmail.com>
Link: https://lore.kernel.org/r/20250217051110.46827-2-andrey.lalaev@gmail.com
[groeck: Fixed continuation line alignment]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
| -rw-r--r-- | Documentation/hwmon/htu31.rst | 37 | ||||
| -rw-r--r-- | Documentation/hwmon/index.rst | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/hwmon/htu31.rst b/Documentation/hwmon/htu31.rst new file mode 100644 index 00000000000000..ccde84264643d7 --- /dev/null +++ b/Documentation/hwmon/htu31.rst @@ -0,0 +1,37 @@ +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver HTU31 +==================== + +Supported chips: + + * Measurement Specialties HTU31 + + Prefix: 'htu31' + + Addresses scanned: - + + Datasheet: Publicly available from https://www.te.com/en/product-CAT-HSC0007.html + +Author: + + - Andrei Lalaev <andrey.lalaev@gmail.com> + +Description +----------- + +HTU31 is a humidity and temperature sensor. + +Supported temperature range is from -40 to 125 degrees Celsius. + +Communication with the device is performed via I2C protocol. Sensor's default address +is 0x40. + +sysfs-Interface +--------------- + +=================== ================= +temp1_input: temperature input +humidity1_input: humidity input +heater_enable: heater control +=================== ================= diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index bd491bc37ba40a..f0ddf6222c44d4 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -86,6 +86,7 @@ Hardware Monitoring Kernel Drivers hih6130 hp-wmi-sensors hs3001 + htu31 ibmaem ibm-cffps ibmpowernv |
