imx8mq Device Tree Possible Tweaking for Enumerating I2C Interface?

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

imx8mq Device Tree Possible Tweaking for Enumerating I2C Interface?

493件の閲覧回数
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 返信

475件の閲覧回数
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 件の賞賛