Tool/software: Linux
Hi,
We have AM5708 based custom board and we have PMIC over I2C1 ( i2c bus 0) and EEPROM on I2C3 ( i2c bus 2) . we are trying to access I2C3 from MLO but not able to access it. Its giving me error "ERROR: Timeout in soft-reset".
U-Boot SPL EDGE
DRA722-GP ES2.0
/* initializing I2C1 */
### i2c_init called speed = 100000, slave = 1, bus = 0
BUS 0, SPEED 100000, SLAVE ADDRESS : 1
I2c adatapter number 0
address 480700a4 : reading status of I2C_CON_EN bit of syss reg : 8000
/* initializing I2C3 */
### in i2c_core i2c_set_bus_num set_bus = 2, CUR_I2C_BUS = 0, init_done = 0
BUS 2, SPEED 100000, SLAVE ADDRESS : 1
I2c adatapter number 2
address 480600a4 : reading status of I2C_CON_EN bit of syss reg : 0
ERROR: Timeout in soft-reset
I have verified that I am not able to write I2C3 processor registers in l4 per from MLO i2c driver i2c_core.
But from uboot I am able to set the bus and can read and write the I2C3 processor registers. Is there something I am missing ? Or its SoC that only starts I2C1 hardware subsystem while in MLO? What if I want to use I2C3 and I2C1 both from MLO ?
Thank you,
Chintan.