mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 09:01:34 +00:00
43fbe66dc2
Add base support for Renesas HS3001 temperature and humidity sensors and its compatibles HS3002, HS3003 and HS3004. The sensor has a fix I2C address 0x44. The resolution is fixed to 14bit (ref. Missing feature). Missing feature: - Accessing non-volatile memory: Custom board has no possibility to control voltage supply of sensor. Thus, we cannot send the necessary control commands within the first 10ms after power-on. Signed-off-by: Andre Werner <andre.werner@systec-electronic.com> Link: https://lore.kernel.org/r/20230725042207.22310-2-andre.werner@systec-electronic.com [groeck: Cosmetic documentation fixup; added documentation to index; replaced probe_new with probe dropped unused variable] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
38 lines
943 B
ReStructuredText
38 lines
943 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
Kernel driver HS3001
|
|
====================
|
|
|
|
Supported chips:
|
|
|
|
* Renesas HS3001, HS3002, HS3003, HS3004
|
|
|
|
Prefix: 'hs3001'
|
|
|
|
Addresses scanned: -
|
|
|
|
Datasheet: https://www.renesas.com/us/en/document/dst/hs300x-datasheet?r=417401
|
|
|
|
Author:
|
|
|
|
- Andre Werner <andre.werner@systec-electronic.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver implements support for the Renesas HS3001 chips, a humidity
|
|
and temperature family. Temperature is measured in degrees celsius, relative
|
|
humidity is expressed as a percentage. In the sysfs interface, all values are
|
|
scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
|
|
|
|
The device communicates with the I2C protocol. Sensors have the I2C
|
|
address 0x44 by default.
|
|
|
|
sysfs-Interface
|
|
---------------
|
|
|
|
=================== =================
|
|
temp1_input: temperature input
|
|
humidity1_input: humidity input
|
|
=================== =================
|