Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / hwmon / adt7x10.h
blob46caf3e21978756d678580b9f96a52d6700c4804
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __HWMON_ADT7X10_H__
3 #define __HWMON_ADT7X10_H__
5 #include <linux/types.h>
6 #include <linux/pm.h>
8 /* ADT7410 registers definition */
9 #define ADT7X10_TEMPERATURE 0
10 #define ADT7X10_STATUS 2
11 #define ADT7X10_CONFIG 3
12 #define ADT7X10_T_ALARM_HIGH 4
13 #define ADT7X10_T_ALARM_LOW 6
14 #define ADT7X10_T_CRIT 8
15 #define ADT7X10_T_HYST 0xA
16 #define ADT7X10_ID 0xB
18 struct device;
20 int adt7x10_probe(struct device *dev, const char *name, int irq,
21 struct regmap *regmap);
23 extern const struct dev_pm_ops adt7x10_dev_pm_ops;
25 #endif