ds620.h 387 B

123456789101112131415161718192021
  1. #ifndef _LINUX_DS620_H
  2. #define _LINUX_DS620_H
  3. #include <linux/types.h>
  4. #include <linux/i2c.h>
  5. /* platform data for the DS620 temperature sensor and thermostat */
  6. struct ds620_platform_data {
  7. /*
  8. * Thermostat output pin PO mode:
  9. * 0 = always low (default)
  10. * 1 = PO_LOW
  11. * 2 = PO_HIGH
  12. *
  13. * (see Documentation/hwmon/ds620)
  14. */
  15. int pomode;
  16. };
  17. #endif /* _LINUX_DS620_H */