summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorJuenKit Yip <JuenKit_Yip@hotmail.com>2023-06-16 18:00:16 +0200
committerGuenter Roeck <linux@roeck-us.net>2023-06-17 18:14:39 +0200
commitaf5ab550125f1bbae0ba89ed8e1994a11f40b96a (patch)
tree7d0d3992e6c6287c27e7c267962aa9215d33d092 /Documentation/hwmon
parenthwmon: (sht3x) add medium repeatability support (diff)
downloadlinux-af5ab550125f1bbae0ba89ed8e1994a11f40b96a.tar.xz
linux-af5ab550125f1bbae0ba89ed8e1994a11f40b96a.zip
hwmon: (sht3x) Add new non-stardard sysfs attribute
Add "repeatability" attribute to sysfs, it could be read or written to control the sensor. Signed-off-by: JuenKit Yip <JuenKit_Yip@hotmail.com> Link: https://lore.kernel.org/r/DB4PR10MB6261B507C7656E3568DA33E39258A@DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM [groeck: Fixed multi-line alignment; dropped check of unsigned against < 0] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/sht3x.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/Documentation/hwmon/sht3x.rst b/Documentation/hwmon/sht3x.rst
index b4aa561f03ab..87864ffd1777 100644
--- a/Documentation/hwmon/sht3x.rst
+++ b/Documentation/hwmon/sht3x.rst
@@ -28,11 +28,6 @@ The device communicates with the I2C protocol. Sensors can have the I2C
addresses 0x44 or 0x45, depending on the wiring. See
Documentation/i2c/instantiating-devices.rst for methods to instantiate the device.
-There is only one option configurable by means of sht3x_data:
-
- repeatability: high repeatability is used by default and using it is
- strongly recommended.
-
Even if sht3x sensor supports clock-strech(blocking mode) and non-strench
(non-blocking mode) in single-shot mode, this driver only supports the latter.
@@ -83,4 +78,11 @@ heater_enable: heater enable, heating element removes excess humidity from
update_interval: update interval, 0 for single shot, interval in msec
for periodic measurement. If the interval is not supported
by the sensor, the next faster interval is chosen
+repeatability: write or read repeatability, higher repeatability means
+ longer measurement duration, lower noise level and
+ larger energy consumption:
+
+ - 0: low repeatability
+ - 1: medium repeatability
+ - 2: high repeatability
=================== ============================================================