Skip to contentSkip to conversation

hwmon: sht3x: add humidity heater element control

PATCH Applied Matt Ranostay 2 participants 2 messages Jul 10, 2016 – Jul 16, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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]>

---
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
index f5aa633ed383..b0d88184f48e 100644
@@ -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