xref: /openbmc/qemu/include/hw/sensor/tmp105_regs.h (revision bad5cfcd)
1 /*
2  * Texas Instruments TMP105 Temperature Sensor I2C messages
3  *
4  * Browse the data sheet:
5  *
6  *    http://www.ti.com/lit/gpn/tmp105
7  *
8  * Copyright (C) 2012 Alex Horn <alex.horn@cs.ox.ac.uk>
9  * Copyright (C) 2008-2012 Andrzej Zaborowski <balrogg@gmail.com>
10  *
11  * This work is licensed under the terms of the GNU GPL, version 2 or
12  * later. See the COPYING file in the top-level directory.
13  */
14 
15 #ifndef TMP105_REGS_H
16 #define TMP105_REGS_H
17 
18 /**
19  * TMP105Reg:
20  * @TMP105_REG_TEMPERATURE: Temperature register
21  * @TMP105_REG_CONFIG: Configuration register
22  * @TMP105_REG_T_LOW: Low temperature register (also known as T_hyst)
23  * @TMP105_REG_T_HIGH: High temperature register (also known as T_OS)
24  *
25  * The following temperature sensors are
26  * compatible with the TMP105 registers:
27  * - adt75
28  * - ds1775
29  * - ds75
30  * - lm75
31  * - lm75a
32  * - max6625
33  * - max6626
34  * - mcp980x
35  * - stds75
36  * - tcn75
37  * - tmp100
38  * - tmp101
39  * - tmp105
40  * - tmp175
41  * - tmp275
42  * - tmp75
43  **/
44 typedef enum TMP105Reg {
45     TMP105_REG_TEMPERATURE = 0,
46     TMP105_REG_CONFIG,
47     TMP105_REG_T_LOW,
48     TMP105_REG_T_HIGH,
49 } TMP105Reg;
50 
51 #endif
52