nvidia@tegra-ubuntu:~$ sudo i2cdetect -y -r 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: [ 716.360607] tegra-i2c 3180000.i2c: pio xfer timed out addr: 0x3
[ 716.367343] tegra-i2c 3180000.i2c: --- register dump for debugging ----
[ 716.374915] tegra-i2c 31800�rJ2c: I2C_CNFG - 022c00
[ 716.380666] tegra-i2c 3180000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 716.388046] tegra-i2� 3180000.i2c: I2C_FIFO_CONTROL - 0xe0
[ 716.394318] tegra-i2c 3180000.i2c: I2C_FIFO_STATUS - 0x800080
[ 716.400716] tegra-i2c 3180000.i2c: I2C_INT_MASK - 0x7d
[ 716.406427] tegra-i2c 3180000.i2c: I2C_INT_STATUS - 0x2
[ 716.412249] tegra-i2c 3180000.i2c: i2c transfer timed out addr: 0x3
-- [ 718.416594] tegra-i2c 3180000.i2c: pio xfer timed out addr: 0x4
[ 718.423858] tegra-i2c 3180000.i2c: --- register dump for debugging ----
[ 718.431922] tegra-i2c 3180000.i2c: I2C_CNFG - 0x22c00
[ 718.438038] tegra-i2c 3180000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 718.445843] tegra-i2c 3180000.i2c: I2C_FIFO_CONTROL - 0xe0
[ 718.452913] tegra-i2c 3180000.i2c: I2Ce%=}MQQUM�- 0x800080
[ 718.460321] tegra-i2c 3180000.i2c: I2C_INT_MASK - 0x7d
[ 718.466416] tegra-i2c 31����rJ�c: I2C_INT_STATUS - 0x2
[ 718.472615] tegra-i2c 3180000.i2c: i2c transfer timed out addr: 0x4
-- [ 720.480591] tegra-i2c 3180000.i2c: pio xfer timed out addr: 0x5
[ 720.488315] tegra-i2c 3180000.i2c: --- register dump for debugging ----
[ 720.496867] tegra-i2c 3180000.i2c: I2C_CNFG - 0x22c00
[ 720.503341] tegra-i2c 3180000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 720.511434] tegra-i2c 3180000.i2c: I2C_FIFO_CONTROL - 0xe0
[ 720.518404] tegra-i2c 3180000.i2c: I2C_FIFO_STATUS - 0x800080
[ 720.525333] tegra-i2c 3180000.i2c: I2C_INT_MASK - 0x7d
[ 720.531691] tegra-i2c 3180000.i2c: I2C_INT_STATUS - 0x2
[ 720.537965] tegra-i2c 3180000.i2c: i2c transfer timed out addr: 0x5
When I try i2cdetect on i2c2 I get these time outs. I2cget and set also time out when trying to talk to my device (a camera from e-consystems).
This is on a custom carrier board. i2c0 works fine, I have a device hooked up there talking. Its this i2c2 that is causing me a problem, and unfortunately it is quite important, as I can’t rewire the connection to the econ camera.
Is there a regulator I have to turn on, or additional dtb node I need to add or something to get i2c2 working?