How to reset I2C bus on i.MX8QM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to reset I2C bus on i.MX8QM

1,357件の閲覧回数
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?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,353件の閲覧回数
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 件の賞賛
返信

1,333件の閲覧回数
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 件の賞賛
返信