Kernel driver ds620¶
Supported chips:
Dallas Semiconductor DS620
Prefix: ‘ds620’
Datasheet: Publicly available at the Dallas Semiconductor website
- Authors:
- Roland Stigge <stigge@antcom.de>based on ds1621.c byChristian W. Zuckschwerdt <zany@triq.net>
Description¶
The DS620 is a (one instance) digital thermometer and thermostat. It has bothhigh and low temperature limits which can be user defined (i.e. programmedinto non-volatile on-chip registers). Temperature range is -55 degree Celsiusto +125. Between 0 and 70 degree Celsius, accuracy is 0.5 Kelvin. The valuereturned via sysfs displays post decimal positions.
The thermostat function works as follows: When configured via platform_data(struct ds620_platform_data) .pomode == 0 (default), the thermostat output pinPO is always low. If .pomode == 1, the thermostat is in PO_LOW mode. I.e., theoutput pin PO becomes active when the temperature falls below temp1_min andstays active until the temperature goes above temp1_max.
Likewise, with .pomode == 2, the thermostat is in PO_HIGH mode. I.e., the POoutput pin becomes active when the temperature goes above temp1_max and staysactive until the temperature falls below temp1_min.
The PO output pin of the DS620 operates active-low.