imx8mq Device Tree Possible Tweaking for Enumerating I2C Interface?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mq Device Tree Possible Tweaking for Enumerating I2C Interface?

1,013 次查看
joseph_chen
Contributor I

Can someone point me to a right direction to do this?

After I removed the device tree configurations for I2C2 and I2C3,  the enumerated interface becomes like thins:

I2C1 is enumerated as /dev/i2c-0

I2C4 is enumerated as /dev/i2c-1

However, I want the enumerated interfaces to match the physical IOMUX names, as

I2C1 is to be as /dev/i2c-0

I2C4 is to be as /dev/i2c-3

 

Thanks,

-- Joe

标记 (2)
0 项奖励
回复
1 回复

995 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Joe,

There is some information on the following documentation:

https://www.kernel.org/doc/Documentation/i2c/instantiating-devices

I think to achieve what you want you would need to instantiate from user-spare as to setup the desired number to each of the I2C interfaces.

I hope this helps!

Regards,

0 项奖励
回复