17#ifndef PLAT_SENSOR_TABLE_H
18#define PLAT_SENSOR_TABLE_H
23#define TMP75_IN_ADDR (0x94 >> 1)
24#define TMP75_OUT_ADDR (0x92 >> 1)
25#define TMP75_FIO_ADDR (0x90 >> 1)
26#define SSD_ADDR (0xD4 >> 1)
30#define RAA229621_PVDDCR_CPU0_ADDR 0x61
31#define RAA229621_PVDDCR_SOC_ADDR 0x61
32#define RAA229621_PVDDCR_CPU1_ADDR 0x62
33#define RAA229621_PVDDIO_ADDR 0x62
34#define RAA229621_PVDD11_S3_ADDR 0x63
36#define XDPE19283B_PVDDCR_CPU0_ADDR 0x64
37#define XDPE19283B_PVDDCR_SOC_ADDR 0x64
38#define XDPE19283B_PVDDCR_CPU1_ADDR 0x66
39#define XDPE19283B_PVDDIO_ADDR 0x66
40#define XDPE19283B_PVDD11_S3_ADDR 0x68
42#define MP2856GUT_PVDDCR_CPU0_ADDR 0x4F
43#define MP2856GUT_PVDDCR_SOC_ADDR 0x4F
44#define MP2856GUT_PVDDCR_CPU1_ADDR 0x4E
45#define MP2856GUT_PVDDIO_ADDR 0x4E
46#define MP2856GUT_PVDD11_S3_ADDR 0x4B
48#define TPS53685_PVDDCR_CPU0_ADDR 0x45
49#define TPS53685_PVDDCR_SOC_ADDR 0x45
50#define TPS53685_PVDDCR_CPU1_ADDR 0x46
51#define TPS53685_PVDDIO_ADDR 0x46
52#define TPS53685_PVDD11_S3_ADDR 0x47
54#define ADM1278_ADDR (0x80 >> 1)
55#define LTC4282_ADDR (0x82 >> 1)
56#define TEMP_HSC_ADDR (0x98 >> 1)
57#define MP5990_ADDR 0x20
60#define TMP75_TEMP_OFFSET 0x00
61#define SSD_TEMP_OFFSET 0x00
62#define CPU_PWR_OFFSET 0x01
65#define SENSOR_NUM_TEMP_TMP75_IN 0x1
66#define SENSOR_NUM_TEMP_TMP75_OUT 0x2
67#define SENSOR_NUM_TEMP_TMP75_FIO 0x3
68#define SENSOR_NUM_TEMP_CPU 0x4
69#define SENSOR_NUM_TEMP_DIMM_A0 0x5
70#define SENSOR_NUM_TEMP_DIMM_A1 0x6
71#define SENSOR_NUM_TEMP_DIMM_A2 0x7
72#define SENSOR_NUM_TEMP_DIMM_A4 0x8
73#define SENSOR_NUM_TEMP_DIMM_A6 0x9
74#define SENSOR_NUM_TEMP_DIMM_A7 0xA
75#define SENSOR_NUM_TEMP_DIMM_A8 0xB
76#define SENSOR_NUM_TEMP_DIMM_A10 0xC
77#define SENSOR_NUM_TEMP_SSD 0xD
78#define SENSOR_NUM_TEMP_HSC 0xE
79#define SENSOR_NUM_TEMP_PVDDCR_CPU0_VR 0xF
80#define SENSOR_NUM_TEMP_PVDDCR_SOC_VR 0x10
81#define SENSOR_NUM_TEMP_PVDDCR_CPU1_VR 0x11
82#define SENSOR_NUM_TEMP_PVDDIO_VR 0x12
83#define SENSOR_NUM_TEMP_PVDD11_S3_VR 0x13
84#define SENSOR_NUM_VOL_P12V_STBY 0x14
85#define SENSOR_NUM_VOL_PVDD18_S5 0x15
86#define SENSOR_NUM_VOL_P3V3_STBY 0x16
87#define SENSOR_NUM_VOL_PVDD11_S3 0x17
88#define SENSOR_NUM_VOL_P3V_BAT 0x18
89#define SENSOR_NUM_VOL_PVDD33_S5 0x19
90#define SENSOR_NUM_VOL_P5V_STBY 0x1A
91#define SENSOR_NUM_VOL_P12V_MEM_1 0x1B
92#define SENSOR_NUM_VOL_P12V_MEM_0 0x1C
93#define SENSOR_NUM_VOL_P1V2_STBY 0x1D
94#define SENSOR_NUM_VOL_P3V3_M2 0x1E
95#define SENSOR_NUM_VOL_P1V8_STBY 0x1F
96#define SENSOR_NUM_VOL_HSCIN 0x20
97#define SENSOR_NUM_VOL_PVDDCR_CPU0_VR 0x21
98#define SENSOR_NUM_VOL_PVDDCR_SOC_VR 0x22
99#define SENSOR_NUM_VOL_PVDDCR_CPU1_VR 0x23
100#define SENSOR_NUM_VOL_PVDDIO_VR 0x24
101#define SENSOR_NUM_VOL_PVDD11_S3_VR 0x25
102#define SENSOR_NUM_CUR_HSCOUT 0x26
103#define SENSOR_NUM_CUR_PVDDCR_CPU0_VR 0x27
104#define SENSOR_NUM_CUR_PVDDCR_SOC_VR 0x28
105#define SENSOR_NUM_CUR_PVDDCR_CPU1_VR 0x29
106#define SENSOR_NUM_CUR_PVDDIO_VR 0x2A
107#define SENSOR_NUM_CUR_PVDD11_S3_VR 0x2B
108#define SENSOR_NUM_PWR_HSCIN 0x2C
109#define SENSOR_NUM_PWR_PVDDCR_CPU0_VR 0x2D
110#define SENSOR_NUM_PWR_PVDDCR_SOC_VR 0x2E
111#define SENSOR_NUM_PWR_PVDDCR_CPU1_VR 0x2F
112#define SENSOR_NUM_PWR_PVDDIO_VR 0x30
113#define SENSOR_NUM_PWR_PVDD11_S3_VR 0x31
114#define SENSOR_NUM_PWR_CPU 0x32
115#define SENSOR_NUM_PWR_DIMM_A0 0x33
116#define SENSOR_NUM_PWR_DIMM_A1 0x34
117#define SENSOR_NUM_PWR_DIMM_A2 0x35
118#define SENSOR_NUM_PWR_DIMM_A4 0x36
119#define SENSOR_NUM_PWR_DIMM_A6 0x37
120#define SENSOR_NUM_PWR_DIMM_A7 0x38
121#define SENSOR_NUM_PWR_DIMM_A8 0x39
122#define SENSOR_NUM_PWR_DIMM_A10 0x3A
124#define POLL_TIME_BAT3V 3600
126#define SENSOR_NUM_SYSTEM_STATUS 0x10
127#define SENSOR_NUM_PSB_BOOT_ERROR 0x46
128#define SENSOR_NUM_POWER_ERROR 0x56
129#define SENSOR_NUM_PROC_FAIL 0x65
130#define SENSOR_NUM_VR_OCP 0x71
131#define SENSOR_NUM_HDT_PRESENT 0xBD
132#define SENSOR_NUM_PMIC_ERROR 0xB4