brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 2d686b1 Raw
39 lines · plain
1Kernel driver ds6202===================3 4Supported chips:5 6  * Dallas Semiconductor DS6207 8    Prefix: 'ds620'9 10    Datasheet: Publicly available at the Dallas Semiconductor website11 12	       http://www.dalsemi.com/13 14Authors:15	Roland Stigge <stigge@antcom.de>16	based on ds1621.c by17	Christian W. Zuckschwerdt <zany@triq.net>18 19Description20-----------21 22The DS620 is a (one instance) digital thermometer and thermostat. It has both23high and low temperature limits which can be user defined (i.e.  programmed24into non-volatile on-chip registers). Temperature range is -55 degree Celsius25to +125. Between 0 and 70 degree Celsius, accuracy is 0.5 Kelvin. The value26returned via sysfs displays post decimal positions.27 28The thermostat function works as follows: When configured via platform_data29(struct ds620_platform_data) .pomode == 0 (default), the thermostat output pin30PO is always low. If .pomode == 1, the thermostat is in PO_LOW mode. I.e., the31output pin PO becomes active when the temperature falls below temp1_min and32stays active until the temperature goes above temp1_max.33 34Likewise, with .pomode == 2, the thermostat is in PO_HIGH mode. I.e., the PO35output pin becomes active when the temperature goes above temp1_max and stays36active until the temperature falls below temp1_min.37 38The PO output pin of the DS620 operates active-low.39