hwmon: sht3x: add humidity heater element control
Subsystems (2)
PATCH v2 1/1 hwmon: sht3x: add humidity heater element control
The enables control of the SHT31 sensors heating element that can turned on to remove excess humidity.
Cc Guenter Roeck <[email protected]>
Cc David Frey <[email protected]>
Signed-off-by Matt Ranostay <[email protected]>
---
Changes from v1:
* Remove useless mutex_lock on data
* Changed documentation to be more
Documentation/hwmon/sht3x | 4 ++++ drivers/hwmon/sht3x.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+)
Documentation/hwmon/sht3x +4 -0
@@ -67,6 +67,10 @@ temp1_alarm: alarm flag is set to 1 if the temperature is outside the configured limits. Alarm only works in periodic measure mode humidity1_alarm: alarm flag is set to 1 if the humidity is outside the configured limits. Alarm only works in periodic measure mode +heater_enable: heater enable, heating element removes excess humidity from + sensor + 0: turned off + 1: turned on 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
drivers/hwmon/sht3x.c +50 -0
74 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 6 lines · Matt Ranostay
The enables control of the SHT31 sensors heating element that can turned on to remove excess humidity.
Cc Guenter Roeck <[email protected]>Cc David Frey <[email protected]>Signed-off-by Matt Ranostay <[email protected]>
Applied to -next.
Thanks,
Guenter