17#ifndef PLAT_PLDM_SENSOR_H
18#define PLAT_PLDM_SENSOR_H
22#define ADDR_TMP75_INLET (0x92 >> 1)
23#define ADDR_TMP75_OUTLET (0x98 >> 1)
24#define ADDR_TMP75_FIO (0x90 >> 1)
25#define ADDR_VR_CPU0 (0XEC >> 1)
26#define ADDR_VR_SOC (0XEC >> 1)
27#define ADDR_VR_CPU1 (0XC6 >> 1)
28#define ADDR_VR_PVDDIO (0XC6 >> 1)
29#define ADDR_VR_PVDD11 (0XE4 >> 1)
31#define ADDR_X8_INA233 (0x8A >> 1)
32#define ADDR_X16_INA233 (0x82 >> 1)
33#define ADDR_E1S_BOOT_INA233 (0x8A >> 1)
34#define ADDR_E1S_DATA_INA233 (0x80 >> 1)
35#define ADDR_X8_RETIMER (0x46 >> 1)
36#define ADDR_X16_RETIMER (0x40 >> 1)
37#define ADDR_NVME (0xD4 >> 1)
39#define OFFSET_TMP75_TEMP 0x00
40#define OFFSET_NVME_TEMP 0x00
42#define NUM_SOC_PACKAGE_PWR 0x0055
44#define UPDATE_INTERVAL_1S 1
45#define UPDATE_INTERVAL_3S 3
46#define UPDATA_INTERNAL_1HR 3600
48#define VR_DEVICE_UNKNOWN 0xFF
50#define SENSOR_NUM_MB_INA233_E1S_DATA_VOLT_V 0x0033
51#define SENSOR_NUM_MB_INA233_X8_RTM_CURR_A 0x0045
52#define SENSOR_NUM_MB_INA233_E1S_DATA_CURR_A 0x0048
53#define SENSOR_NUM_MB_INA233_X8_RTM_PWR_W 0x0062
54#define SENSOR_NUM_MB_INA233_E1S_DATA_PWR_W 0x0065