/include/linux/i2c/ds620.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t · C Header · 21 lines · 8 code · 4 blank · 9 comment · 0 complexity · 12b60fa4d1bc787a93ac2014c96b6d58 MD5 · raw file

  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 */