Andrei Lalaev bf1bb26f23 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>
2025-03-18 08:03:40 -07:00

38 lines
777 B
ReStructuredText

.. 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
=================== =================