OpenBIC
OpenSource Bridge-IC
plat_i2c.h File Reference
#include "hal_i2c.h"
Include dependency graph for plat_i2c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SSIF_I2C_BUS   I2C_BUS6
 
#define SSIF_I2C_ADDR   0x20
 
#define CPLD_I2C_ADDR   0x42
 
#define RTC_I2C_ADDR   0xDE
 
#define MCTP_I2C_BIC_ADDR   0x20
 
#define MCTP_I2C_SATMC_BUS   I2C_BUS4
 
#define MCTP_I2C_SATMC_ADDR   0x80
 
#define CPUDVDD_I2C_BUS   I2C_BUS3
 
#define CPUDVDD_I2C_ADDR   0x32
 
#define CPUVDD_I2C_BUS   I2C_BUS3
 
#define CPUVDD_I2C_ADDR   0x4A
 
#define RT8848C_I2C_ADDR   0x94
 
#define SOCVDD_I2C_BUS   I2C_BUS3
 
#define SOCVDD_I2C_ADDR   0x4C
 
#define FBVDDP2_I2C_BUS   I2C_BUS3
 
#define FBVDDP2_I2C_ADDR   0x48
 
#define VR_1V2_I2C_BUS   I2C_BUS3
 
#define VR_1V2_I2C_ADDR   0x46
 
#define TDA38741_PROGRAM_I2C_ADDR   0x20
 

Enumerations

enum  _i2c_bus_num {
  I2C_BUS1 , I2C_BUS2 , I2C_BUS3 , I2C_BUS4 ,
  I2C_BUS5 , I2C_BUS6 , I2C_BUS7 , I2C_BUS8 ,
  I2C_BUS9 , I2C_BUS10 , I2C_BUS11 , I2C_BUS12 ,
  I2C_BUS13 , I2C_BUS14 , I2C_BUS_MAX_NUM , I2C_BUS1 ,
  I2C_BUS2 , I2C_BUS3 , I2C_BUS4 , I2C_BUS5 ,
  I2C_BUS6 , I2C_BUS7 , I2C_BUS8 , I2C_BUS9 ,
  I2C_BUS10 , I2C_BUS11 , I2C_BUS12 , I2C_BUS13 ,
  I2C_BUS14 , I2C_BUS_MAX_NUM
}
 

Macro Definition Documentation

◆ CPLD_I2C_ADDR

#define CPLD_I2C_ADDR   0x42

◆ CPUDVDD_I2C_ADDR

#define CPUDVDD_I2C_ADDR   0x32

◆ CPUDVDD_I2C_BUS

#define CPUDVDD_I2C_BUS   I2C_BUS3

◆ CPUVDD_I2C_ADDR

#define CPUVDD_I2C_ADDR   0x4A

◆ CPUVDD_I2C_BUS

#define CPUVDD_I2C_BUS   I2C_BUS3

◆ FBVDDP2_I2C_ADDR

#define FBVDDP2_I2C_ADDR   0x48

◆ FBVDDP2_I2C_BUS

#define FBVDDP2_I2C_BUS   I2C_BUS3

◆ MCTP_I2C_BIC_ADDR

#define MCTP_I2C_BIC_ADDR   0x20

◆ MCTP_I2C_SATMC_ADDR

#define MCTP_I2C_SATMC_ADDR   0x80

◆ MCTP_I2C_SATMC_BUS

#define MCTP_I2C_SATMC_BUS   I2C_BUS4

◆ RT8848C_I2C_ADDR

#define RT8848C_I2C_ADDR   0x94

◆ RTC_I2C_ADDR

#define RTC_I2C_ADDR   0xDE

◆ SOCVDD_I2C_ADDR

#define SOCVDD_I2C_ADDR   0x4C

◆ SOCVDD_I2C_BUS

#define SOCVDD_I2C_BUS   I2C_BUS3

◆ SSIF_I2C_ADDR

#define SSIF_I2C_ADDR   0x20

◆ SSIF_I2C_BUS

#define SSIF_I2C_BUS   I2C_BUS6

◆ TDA38741_PROGRAM_I2C_ADDR

#define TDA38741_PROGRAM_I2C_ADDR   0x20

◆ VR_1V2_I2C_ADDR

#define VR_1V2_I2C_ADDR   0x46

◆ VR_1V2_I2C_BUS

#define VR_1V2_I2C_BUS   I2C_BUS3

Enumeration Type Documentation

◆ _i2c_bus_num

Enumerator
I2C_BUS1 
I2C_BUS2 
I2C_BUS3 
I2C_BUS4 
I2C_BUS5 
I2C_BUS6 
I2C_BUS7 
I2C_BUS8 
I2C_BUS9 
I2C_BUS10 
I2C_BUS11 
I2C_BUS12 
I2C_BUS13 
I2C_BUS14 
I2C_BUS_MAX_NUM 
I2C_BUS1 
I2C_BUS2 
I2C_BUS3 
I2C_BUS4 
I2C_BUS5 
I2C_BUS6 
I2C_BUS7 
I2C_BUS8 
I2C_BUS9 
I2C_BUS10 
I2C_BUS11 
I2C_BUS12 
I2C_BUS13 
I2C_BUS14 
I2C_BUS_MAX_NUM