[IMX6] Missing i2c device with 4.1.15 kernel on CM-FX6 board

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

[IMX6] Missing i2c device with 4.1.15 kernel on CM-FX6 board

跳至解决方案
1,293 次查看
mathijsjonker
Contributor I

With 3.0.35 I had 4 i2c devices with 4.1.15 I'm missing 1 i2c device.

I'm using defconfig cm_fx6.

 

I've attached bootlogs. I've followed CM-FX6: Linux: Kernel - CompuLab Wiki  to compile the kernel.

 

With 3.0.35:

ls -l /dev/i2c-*
crw------- 1 root root 89, 0 Jan  1  1970 /dev/i2c-0
crw------- 1 root root 89, 1 Jan  1  1970 /dev/i2c-1
crw------- 1 root root 89, 2 Jan  1  1970 /dev/i2c-2
crw------- 1 root root 89, 3 Jan  1  1970 /dev/i2c-3
crw------- 1 root root 89, 4 Jan  1  1970 /dev/i2c-4

 

[root@yes ~]# cat /sys/dev/char/89\:1/device/name
imx-i2c

 

With 4.1.15

# ls -l /dev/i2c*
crw-rw----    1 root     root       89,   0 Jan  1  1970 /dev/i2c-0
crw-rw----    1 root     root       89,   2 Jan  1  1970 /dev/i2c-2
crw-rw----    1 root     root       89,   3 Jan  1  1970 /dev/i2c-3
crw-rw----    1 root     root       89,   4 Jan  1  1970 /dev/i2c-4

Original Attachment has been moved to: 3.0.35-boot.txt.zip

Original Attachment has been moved to: 4.1.15-boot.txt.zip

标签 (2)
标记 (2)
0 项奖励
回复
1 解答
923 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Mathijs,

This may be because the status of i2c-1 is not set as "okay" in the device tree. You may enable it in your dts file and rebuild kernel.

Please not that CM-FX6 is not developed by NXP therefore is not supported. For further details please contact CompuLab.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
924 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Mathijs,

This may be because the status of i2c-1 is not set as "okay" in the device tree. You may enable it in your dts file and rebuild kernel.

Please not that CM-FX6 is not developed by NXP therefore is not supported. For further details please contact CompuLab.


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
923 次查看
mathijsjonker
Contributor I

Thanks you very much!

0 项奖励
回复