ds620 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Kernel driver ds620
  2. ===================
  3. Supported chips:
  4. * Dallas Semiconductor DS620
  5. Prefix: 'ds620'
  6. Datasheet: Publicly available at the Dallas Semiconductor website
  7. http://www.dalsemi.com/
  8. Authors:
  9. Roland Stigge <stigge@antcom.de>
  10. based on ds1621.c by
  11. Christian W. Zuckschwerdt <zany@triq.net>
  12. Description
  13. -----------
  14. The DS620 is a (one instance) digital thermometer and thermostat. It has both
  15. high and low temperature limits which can be user defined (i.e. programmed
  16. into non-volatile on-chip registers). Temperature range is -55 degree Celsius
  17. to +125. Between 0 and 70 degree Celsius, accuracy is 0.5 Kelvin. The value
  18. returned via sysfs displays post decimal positions.
  19. The thermostat function works as follows: When configured via platform_data
  20. (struct ds620_platform_data) .pomode == 0 (default), the thermostat output pin
  21. PO is always low. If .pomode == 1, the thermostat is in PO_LOW mode. I.e., the
  22. output pin PO becomes active when the temperature falls below temp1_min and
  23. stays active until the temperature goes above temp1_max.
  24. Likewise, with .pomode == 2, the thermostat is in PO_HIGH mode. I.e., the PO
  25. output pin becomes active when the temperature goes above temp1_max and stays
  26. active until the temperature falls below temp1_min.
  27. The PO output pin of the DS620 operates active-low.