ds620.h 430 B

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