How to reset I2C bus on i.MX8QM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to reset I2C bus on i.MX8QM

711 Views
xu_ji1
Contributor V

Hello,

 

I want to add reset I2C bus logic on I2C driver,how to do this and does I2C bus support it?

0 Kudos
2 Replies

707 Views
igorpadykov
NXP Employee
NXP Employee

Hi xu_ji1

 

as all accesses in i.MX8QM are performed through SCFW APIs, one can look at function

sc_err_t sc_pm_resource_reset (sc_ipc_t ipc, sc_rsrc_t resource)
This function is used to reset a peripheral.

described in sect.Reset Functions sc_fw_api.pdf document included in

SCFW Porting Kit​

 

Best regards
igor

0 Kudos

687 Views
xu_ji1
Contributor V

Hi,

 

I want to reset I2C bus in kernel,  I need reset it after booting, when I2C bus init done before device register on bus,is it support?

0 Kudos