OpenBIC
OpenSource Bridge-IC
plat_sensor_table.h File Reference
#include <stdint.h>
Include dependency graph for plat_sensor_table.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TMP75_IN_ADDR   (0x94 >> 1)
 
#define TMP75_OUT_ADDR   (0x92 >> 1)
 
#define TMP75_FIO_ADDR   (0x90 >> 1)
 
#define SSD_ADDR   (0xD4 >> 1)
 
#define APML_ADDR   0x3C
 
#define TSI_ADDR   0x4C
 
#define RAA229621_PVDDCR_CPU0_ADDR   0x61
 
#define RAA229621_PVDDCR_SOC_ADDR   0x61
 
#define RAA229621_PVDDCR_CPU1_ADDR   0x62
 
#define RAA229621_PVDDIO_ADDR   0x62
 
#define RAA229621_PVDD11_S3_ADDR   0x63
 
#define XDPE19283B_PVDDCR_CPU0_ADDR   0x64
 
#define XDPE19283B_PVDDCR_SOC_ADDR   0x64
 
#define XDPE19283B_PVDDCR_CPU1_ADDR   0x66
 
#define XDPE19283B_PVDDIO_ADDR   0x66
 
#define XDPE19283B_PVDD11_S3_ADDR   0x68
 
#define MP2856GUT_PVDDCR_CPU0_ADDR   0x4F
 
#define MP2856GUT_PVDDCR_SOC_ADDR   0x4F
 
#define MP2856GUT_PVDDCR_CPU1_ADDR   0x4E
 
#define MP2856GUT_PVDDIO_ADDR   0x4E
 
#define MP2856GUT_PVDD11_S3_ADDR   0x4B
 
#define TPS53685_PVDDCR_CPU0_ADDR   0x45
 
#define TPS53685_PVDDCR_SOC_ADDR   0x45
 
#define TPS53685_PVDDCR_CPU1_ADDR   0x46
 
#define TPS53685_PVDDIO_ADDR   0x46
 
#define TPS53685_PVDD11_S3_ADDR   0x47
 
#define ADM1278_ADDR   (0x80 >> 1)
 
#define LTC4282_ADDR   (0x82 >> 1)
 
#define TEMP_HSC_ADDR   (0x98 >> 1)
 
#define MP5990_ADDR   0x20
 
#define TMP75_TEMP_OFFSET   0x00
 
#define SSD_TEMP_OFFSET   0x00
 
#define CPU_PWR_OFFSET   0x01
 
#define SENSOR_NUM_TEMP_TMP75_IN   0x1
 
#define SENSOR_NUM_TEMP_TMP75_OUT   0x2
 
#define SENSOR_NUM_TEMP_TMP75_FIO   0x3
 
#define SENSOR_NUM_TEMP_CPU   0x4
 
#define SENSOR_NUM_TEMP_DIMM_A0   0x5
 
#define SENSOR_NUM_TEMP_DIMM_A1   0x6
 
#define SENSOR_NUM_TEMP_DIMM_A2   0x7
 
#define SENSOR_NUM_TEMP_DIMM_A4   0x8
 
#define SENSOR_NUM_TEMP_DIMM_A6   0x9
 
#define SENSOR_NUM_TEMP_DIMM_A7   0xA
 
#define SENSOR_NUM_TEMP_DIMM_A8   0xB
 
#define SENSOR_NUM_TEMP_DIMM_A10   0xC
 
#define SENSOR_NUM_TEMP_SSD   0xD
 
#define SENSOR_NUM_TEMP_HSC   0xE
 
#define SENSOR_NUM_TEMP_PVDDCR_CPU0_VR   0xF
 
#define SENSOR_NUM_TEMP_PVDDCR_SOC_VR   0x10
 
#define SENSOR_NUM_TEMP_PVDDCR_CPU1_VR   0x11
 
#define SENSOR_NUM_TEMP_PVDDIO_VR   0x12
 
#define SENSOR_NUM_TEMP_PVDD11_S3_VR   0x13
 
#define SENSOR_NUM_VOL_P12V_STBY   0x14
 
#define SENSOR_NUM_VOL_PVDD18_S5   0x15
 
#define SENSOR_NUM_VOL_P3V3_STBY   0x16
 
#define SENSOR_NUM_VOL_PVDD11_S3   0x17
 
#define SENSOR_NUM_VOL_P3V_BAT   0x18
 
#define SENSOR_NUM_VOL_PVDD33_S5   0x19
 
#define SENSOR_NUM_VOL_P5V_STBY   0x1A
 
#define SENSOR_NUM_VOL_P12V_MEM_1   0x1B
 
#define SENSOR_NUM_VOL_P12V_MEM_0   0x1C
 
#define SENSOR_NUM_VOL_P1V2_STBY   0x1D
 
#define SENSOR_NUM_VOL_P3V3_M2   0x1E
 
#define SENSOR_NUM_VOL_P1V8_STBY   0x1F
 
#define SENSOR_NUM_VOL_HSCIN   0x20
 
#define SENSOR_NUM_VOL_PVDDCR_CPU0_VR   0x21
 
#define SENSOR_NUM_VOL_PVDDCR_SOC_VR   0x22
 
#define SENSOR_NUM_VOL_PVDDCR_CPU1_VR   0x23
 
#define SENSOR_NUM_VOL_PVDDIO_VR   0x24
 
#define SENSOR_NUM_VOL_PVDD11_S3_VR   0x25
 
#define SENSOR_NUM_CUR_HSCOUT   0x26
 
#define SENSOR_NUM_CUR_PVDDCR_CPU0_VR   0x27
 
#define SENSOR_NUM_CUR_PVDDCR_SOC_VR   0x28
 
#define SENSOR_NUM_CUR_PVDDCR_CPU1_VR   0x29
 
#define SENSOR_NUM_CUR_PVDDIO_VR   0x2A
 
#define SENSOR_NUM_CUR_PVDD11_S3_VR   0x2B
 
#define SENSOR_NUM_PWR_HSCIN   0x2C
 
#define SENSOR_NUM_PWR_PVDDCR_CPU0_VR   0x2D
 
#define SENSOR_NUM_PWR_PVDDCR_SOC_VR   0x2E
 
#define SENSOR_NUM_PWR_PVDDCR_CPU1_VR   0x2F
 
#define SENSOR_NUM_PWR_PVDDIO_VR   0x30
 
#define SENSOR_NUM_PWR_PVDD11_S3_VR   0x31
 
#define SENSOR_NUM_PWR_CPU   0x32
 
#define SENSOR_NUM_PWR_DIMM_A0   0x33
 
#define SENSOR_NUM_PWR_DIMM_A1   0x34
 
#define SENSOR_NUM_PWR_DIMM_A2   0x35
 
#define SENSOR_NUM_PWR_DIMM_A4   0x36
 
#define SENSOR_NUM_PWR_DIMM_A6   0x37
 
#define SENSOR_NUM_PWR_DIMM_A7   0x38
 
#define SENSOR_NUM_PWR_DIMM_A8   0x39
 
#define SENSOR_NUM_PWR_DIMM_A10   0x3A
 
#define POLL_TIME_BAT3V   3600
 
#define SENSOR_NUM_SYSTEM_STATUS   0x10
 
#define SENSOR_NUM_PSB_BOOT_ERROR   0x46
 
#define SENSOR_NUM_POWER_ERROR   0x56
 
#define SENSOR_NUM_PROC_FAIL   0x65
 
#define SENSOR_NUM_VR_OCP   0x71
 
#define SENSOR_NUM_HDT_PRESENT   0xBD
 
#define SENSOR_NUM_PMIC_ERROR   0xB4
 

Functions

uint8_t plat_get_config_size ()
 
void load_sensor_config (void)
 

Macro Definition Documentation

◆ ADM1278_ADDR

#define ADM1278_ADDR   (0x80 >> 1)

◆ APML_ADDR

#define APML_ADDR   0x3C

◆ CPU_PWR_OFFSET

#define CPU_PWR_OFFSET   0x01

◆ LTC4282_ADDR

#define LTC4282_ADDR   (0x82 >> 1)

◆ MP2856GUT_PVDD11_S3_ADDR

#define MP2856GUT_PVDD11_S3_ADDR   0x4B

◆ MP2856GUT_PVDDCR_CPU0_ADDR

#define MP2856GUT_PVDDCR_CPU0_ADDR   0x4F

◆ MP2856GUT_PVDDCR_CPU1_ADDR

#define MP2856GUT_PVDDCR_CPU1_ADDR   0x4E

◆ MP2856GUT_PVDDCR_SOC_ADDR

#define MP2856GUT_PVDDCR_SOC_ADDR   0x4F

◆ MP2856GUT_PVDDIO_ADDR

#define MP2856GUT_PVDDIO_ADDR   0x4E

◆ MP5990_ADDR

#define MP5990_ADDR   0x20

◆ POLL_TIME_BAT3V

#define POLL_TIME_BAT3V   3600

◆ RAA229621_PVDD11_S3_ADDR

#define RAA229621_PVDD11_S3_ADDR   0x63

◆ RAA229621_PVDDCR_CPU0_ADDR

#define RAA229621_PVDDCR_CPU0_ADDR   0x61

◆ RAA229621_PVDDCR_CPU1_ADDR

#define RAA229621_PVDDCR_CPU1_ADDR   0x62

◆ RAA229621_PVDDCR_SOC_ADDR

#define RAA229621_PVDDCR_SOC_ADDR   0x61

◆ RAA229621_PVDDIO_ADDR

#define RAA229621_PVDDIO_ADDR   0x62

◆ SENSOR_NUM_CUR_HSCOUT

#define SENSOR_NUM_CUR_HSCOUT   0x26

◆ SENSOR_NUM_CUR_PVDD11_S3_VR

#define SENSOR_NUM_CUR_PVDD11_S3_VR   0x2B

◆ SENSOR_NUM_CUR_PVDDCR_CPU0_VR

#define SENSOR_NUM_CUR_PVDDCR_CPU0_VR   0x27

◆ SENSOR_NUM_CUR_PVDDCR_CPU1_VR

#define SENSOR_NUM_CUR_PVDDCR_CPU1_VR   0x29

◆ SENSOR_NUM_CUR_PVDDCR_SOC_VR

#define SENSOR_NUM_CUR_PVDDCR_SOC_VR   0x28

◆ SENSOR_NUM_CUR_PVDDIO_VR

#define SENSOR_NUM_CUR_PVDDIO_VR   0x2A

◆ SENSOR_NUM_HDT_PRESENT

#define SENSOR_NUM_HDT_PRESENT   0xBD

◆ SENSOR_NUM_PMIC_ERROR

#define SENSOR_NUM_PMIC_ERROR   0xB4

◆ SENSOR_NUM_POWER_ERROR

#define SENSOR_NUM_POWER_ERROR   0x56

◆ SENSOR_NUM_PROC_FAIL

#define SENSOR_NUM_PROC_FAIL   0x65

◆ SENSOR_NUM_PSB_BOOT_ERROR

#define SENSOR_NUM_PSB_BOOT_ERROR   0x46

◆ SENSOR_NUM_PWR_CPU

#define SENSOR_NUM_PWR_CPU   0x32

◆ SENSOR_NUM_PWR_DIMM_A0

#define SENSOR_NUM_PWR_DIMM_A0   0x33

◆ SENSOR_NUM_PWR_DIMM_A1

#define SENSOR_NUM_PWR_DIMM_A1   0x34

◆ SENSOR_NUM_PWR_DIMM_A10

#define SENSOR_NUM_PWR_DIMM_A10   0x3A

◆ SENSOR_NUM_PWR_DIMM_A2

#define SENSOR_NUM_PWR_DIMM_A2   0x35

◆ SENSOR_NUM_PWR_DIMM_A4

#define SENSOR_NUM_PWR_DIMM_A4   0x36

◆ SENSOR_NUM_PWR_DIMM_A6

#define SENSOR_NUM_PWR_DIMM_A6   0x37

◆ SENSOR_NUM_PWR_DIMM_A7

#define SENSOR_NUM_PWR_DIMM_A7   0x38

◆ SENSOR_NUM_PWR_DIMM_A8

#define SENSOR_NUM_PWR_DIMM_A8   0x39

◆ SENSOR_NUM_PWR_HSCIN

#define SENSOR_NUM_PWR_HSCIN   0x2C

◆ SENSOR_NUM_PWR_PVDD11_S3_VR

#define SENSOR_NUM_PWR_PVDD11_S3_VR   0x31

◆ SENSOR_NUM_PWR_PVDDCR_CPU0_VR

#define SENSOR_NUM_PWR_PVDDCR_CPU0_VR   0x2D

◆ SENSOR_NUM_PWR_PVDDCR_CPU1_VR

#define SENSOR_NUM_PWR_PVDDCR_CPU1_VR   0x2F

◆ SENSOR_NUM_PWR_PVDDCR_SOC_VR

#define SENSOR_NUM_PWR_PVDDCR_SOC_VR   0x2E

◆ SENSOR_NUM_PWR_PVDDIO_VR

#define SENSOR_NUM_PWR_PVDDIO_VR   0x30

◆ SENSOR_NUM_SYSTEM_STATUS

#define SENSOR_NUM_SYSTEM_STATUS   0x10

◆ SENSOR_NUM_TEMP_CPU

#define SENSOR_NUM_TEMP_CPU   0x4

◆ SENSOR_NUM_TEMP_DIMM_A0

#define SENSOR_NUM_TEMP_DIMM_A0   0x5

◆ SENSOR_NUM_TEMP_DIMM_A1

#define SENSOR_NUM_TEMP_DIMM_A1   0x6

◆ SENSOR_NUM_TEMP_DIMM_A10

#define SENSOR_NUM_TEMP_DIMM_A10   0xC

◆ SENSOR_NUM_TEMP_DIMM_A2

#define SENSOR_NUM_TEMP_DIMM_A2   0x7

◆ SENSOR_NUM_TEMP_DIMM_A4

#define SENSOR_NUM_TEMP_DIMM_A4   0x8

◆ SENSOR_NUM_TEMP_DIMM_A6

#define SENSOR_NUM_TEMP_DIMM_A6   0x9

◆ SENSOR_NUM_TEMP_DIMM_A7

#define SENSOR_NUM_TEMP_DIMM_A7   0xA

◆ SENSOR_NUM_TEMP_DIMM_A8

#define SENSOR_NUM_TEMP_DIMM_A8   0xB

◆ SENSOR_NUM_TEMP_HSC

#define SENSOR_NUM_TEMP_HSC   0xE

◆ SENSOR_NUM_TEMP_PVDD11_S3_VR

#define SENSOR_NUM_TEMP_PVDD11_S3_VR   0x13

◆ SENSOR_NUM_TEMP_PVDDCR_CPU0_VR

#define SENSOR_NUM_TEMP_PVDDCR_CPU0_VR   0xF

◆ SENSOR_NUM_TEMP_PVDDCR_CPU1_VR

#define SENSOR_NUM_TEMP_PVDDCR_CPU1_VR   0x11

◆ SENSOR_NUM_TEMP_PVDDCR_SOC_VR

#define SENSOR_NUM_TEMP_PVDDCR_SOC_VR   0x10

◆ SENSOR_NUM_TEMP_PVDDIO_VR

#define SENSOR_NUM_TEMP_PVDDIO_VR   0x12

◆ SENSOR_NUM_TEMP_SSD

#define SENSOR_NUM_TEMP_SSD   0xD

◆ SENSOR_NUM_TEMP_TMP75_FIO

#define SENSOR_NUM_TEMP_TMP75_FIO   0x3

◆ SENSOR_NUM_TEMP_TMP75_IN

#define SENSOR_NUM_TEMP_TMP75_IN   0x1

◆ SENSOR_NUM_TEMP_TMP75_OUT

#define SENSOR_NUM_TEMP_TMP75_OUT   0x2

◆ SENSOR_NUM_VOL_HSCIN

#define SENSOR_NUM_VOL_HSCIN   0x20

◆ SENSOR_NUM_VOL_P12V_MEM_0

#define SENSOR_NUM_VOL_P12V_MEM_0   0x1C

◆ SENSOR_NUM_VOL_P12V_MEM_1

#define SENSOR_NUM_VOL_P12V_MEM_1   0x1B

◆ SENSOR_NUM_VOL_P12V_STBY

#define SENSOR_NUM_VOL_P12V_STBY   0x14

◆ SENSOR_NUM_VOL_P1V2_STBY

#define SENSOR_NUM_VOL_P1V2_STBY   0x1D

◆ SENSOR_NUM_VOL_P1V8_STBY

#define SENSOR_NUM_VOL_P1V8_STBY   0x1F

◆ SENSOR_NUM_VOL_P3V3_M2

#define SENSOR_NUM_VOL_P3V3_M2   0x1E

◆ SENSOR_NUM_VOL_P3V3_STBY

#define SENSOR_NUM_VOL_P3V3_STBY   0x16

◆ SENSOR_NUM_VOL_P3V_BAT

#define SENSOR_NUM_VOL_P3V_BAT   0x18

◆ SENSOR_NUM_VOL_P5V_STBY

#define SENSOR_NUM_VOL_P5V_STBY   0x1A

◆ SENSOR_NUM_VOL_PVDD11_S3

#define SENSOR_NUM_VOL_PVDD11_S3   0x17

◆ SENSOR_NUM_VOL_PVDD11_S3_VR

#define SENSOR_NUM_VOL_PVDD11_S3_VR   0x25

◆ SENSOR_NUM_VOL_PVDD18_S5

#define SENSOR_NUM_VOL_PVDD18_S5   0x15

◆ SENSOR_NUM_VOL_PVDD33_S5

#define SENSOR_NUM_VOL_PVDD33_S5   0x19

◆ SENSOR_NUM_VOL_PVDDCR_CPU0_VR

#define SENSOR_NUM_VOL_PVDDCR_CPU0_VR   0x21

◆ SENSOR_NUM_VOL_PVDDCR_CPU1_VR

#define SENSOR_NUM_VOL_PVDDCR_CPU1_VR   0x23

◆ SENSOR_NUM_VOL_PVDDCR_SOC_VR

#define SENSOR_NUM_VOL_PVDDCR_SOC_VR   0x22

◆ SENSOR_NUM_VOL_PVDDIO_VR

#define SENSOR_NUM_VOL_PVDDIO_VR   0x24

◆ SENSOR_NUM_VR_OCP

#define SENSOR_NUM_VR_OCP   0x71

◆ SSD_ADDR

#define SSD_ADDR   (0xD4 >> 1)

◆ SSD_TEMP_OFFSET

#define SSD_TEMP_OFFSET   0x00

◆ TEMP_HSC_ADDR

#define TEMP_HSC_ADDR   (0x98 >> 1)

◆ TMP75_FIO_ADDR

#define TMP75_FIO_ADDR   (0x90 >> 1)

◆ TMP75_IN_ADDR

#define TMP75_IN_ADDR   (0x94 >> 1)

◆ TMP75_OUT_ADDR

#define TMP75_OUT_ADDR   (0x92 >> 1)

◆ TMP75_TEMP_OFFSET

#define TMP75_TEMP_OFFSET   0x00

◆ TPS53685_PVDD11_S3_ADDR

#define TPS53685_PVDD11_S3_ADDR   0x47

◆ TPS53685_PVDDCR_CPU0_ADDR

#define TPS53685_PVDDCR_CPU0_ADDR   0x45

◆ TPS53685_PVDDCR_CPU1_ADDR

#define TPS53685_PVDDCR_CPU1_ADDR   0x46

◆ TPS53685_PVDDCR_SOC_ADDR

#define TPS53685_PVDDCR_SOC_ADDR   0x45

◆ TPS53685_PVDDIO_ADDR

#define TPS53685_PVDDIO_ADDR   0x46

◆ TSI_ADDR

#define TSI_ADDR   0x4C

◆ XDPE19283B_PVDD11_S3_ADDR

#define XDPE19283B_PVDD11_S3_ADDR   0x68

◆ XDPE19283B_PVDDCR_CPU0_ADDR

#define XDPE19283B_PVDDCR_CPU0_ADDR   0x64

◆ XDPE19283B_PVDDCR_CPU1_ADDR

#define XDPE19283B_PVDDCR_CPU1_ADDR   0x66

◆ XDPE19283B_PVDDCR_SOC_ADDR

#define XDPE19283B_PVDDCR_SOC_ADDR   0x64

◆ XDPE19283B_PVDDIO_ADDR

#define XDPE19283B_PVDDIO_ADDR   0x66

Function Documentation

◆ load_sensor_config()

void load_sensor_config ( void  )

◆ plat_get_config_size()

uint8_t plat_get_config_size ( )