blob: f0ce22a78bb87c75296e9e752e4ff135a75fac2a [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Roland Stigge60994692011-01-09 09:31:39 -05002#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
10struct ds620_platform_data {
11 /*
12 * Thermostat output pin PO mode:
13 * 0 = always low (default)
14 * 1 = PO_LOW
15 * 2 = PO_HIGH
16 *
Mauro Carvalho Chehab7ebd8b662019-04-17 06:46:29 -030017 * (see Documentation/hwmon/ds620.rst)
Roland Stigge60994692011-01-09 09:31:39 -050018 */
19 int pomode;
20};
21
22#endif /* _LINUX_DS620_H */