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

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

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

Jump to solution
1,483 Views
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

Labels (2)
Tags (2)
0 Kudos
Reply
1 Solution
1,113 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
2 Replies
1,114 Views
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 Kudos
Reply
1,113 Views
mathijsjonker
Contributor I

Thanks you very much!

0 Kudos
Reply