Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _LINUX_DS620_H
0003 #define _LINUX_DS620_H
0004 
0005 #include <linux/types.h>
0006 #include <linux/i2c.h>
0007 
0008 /* platform data for the DS620 temperature sensor and thermostat */
0009 
0010 struct ds620_platform_data {
0011     /*
0012      *  Thermostat output pin PO mode:
0013      *  0 = always low (default)
0014      *  1 = PO_LOW
0015      *  2 = PO_HIGH
0016      *
0017      * (see Documentation/hwmon/ds620.rst)
0018      */
0019     int pomode;
0020 };
0021 
0022 #endif /* _LINUX_DS620_H */