This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VL-Q1: Which set of I2C is mapped to /dev/i2c-1 in SDK 9.2 by default?

Part Number: TDA4VL-Q1
Other Parts Discussed in Thread: TDA4VL

Processor: TDA4VL

SDK version: 9.2

Symptom:

In 8.6, wkup_i2c0 was mapped to /dev/i2c-1 and "i2cdetect -r -y 1" shows:

root@j721s2-evm:~# i2cdetect -r -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- 12 -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

In 9.2, Same DT is configured, but "i2cdetect -r -y 1" shows: 

root@j721s2-evm:~# i2cdetect -r -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- 28 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Searched whole device tree of k3-j721s2*.dts, no 0x28 is declared. Can anyone figure out which set of I2C mapping to /dev/i2c-1? Thanks.

- Wilson

  • Hi Wilson,

    You can figure that out by the below command: 

    dmesg | grep i2c

    This will show instance numbers and the corresponding i2c instances. You can figure out using the i2c instances bade address in dts files. 

    Best Regards,

    Keerthy