Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Roland Stigge | 6099469 | 2011-01-09 09:31:39 -0500 | [diff] [blame] | 2 | #ifndef _LINUX_DS620_H |
| 3 | #define _LINUX_DS620_H |
| 4 | |
| 5 | #include <linux/types.h> |
| 6 | #include <linux/i2c.h> |
| 7 | |
| 8 | /* platform data for the DS620 temperature sensor and thermostat */ |
| 9 | |
| 10 | struct ds620_platform_data { |
| 11 | /* |
| 12 | * Thermostat output pin PO mode: |
| 13 | * 0 = always low (default) |
| 14 | * 1 = PO_LOW |
| 15 | * 2 = PO_HIGH |
| 16 | * |
| 17 | * (see Documentation/hwmon/ds620) |
| 18 | */ |
| 19 | int pomode; |
| 20 | }; |
| 21 | |
| 22 | #endif /* _LINUX_DS620_H */ |