linux/drivers/hwmon/adt7x10.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __HWMON_ADT7X10_H__
#define __HWMON_ADT7X10_H__

#include <linux/types.h>
#include <linux/pm.h>

/* ADT7410 registers definition */
#define ADT7X10_TEMPERATURE
#define ADT7X10_STATUS
#define ADT7X10_CONFIG
#define ADT7X10_T_ALARM_HIGH
#define ADT7X10_T_ALARM_LOW
#define ADT7X10_T_CRIT
#define ADT7X10_T_HYST
#define ADT7X10_ID

struct device;

int adt7x10_probe(struct device *dev, const char *name, int irq,
		  struct regmap *regmap);

extern const struct dev_pm_ops adt7x10_dev_pm_ops;

#endif