linux/include/linux/platform_data/ds620.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   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
  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         *
  17         * (see Documentation/hwmon/ds620.rst)
  18         */
  19        int pomode;
  20};
  21
  22#endif /* _LINUX_DS620_H */
  23