Hi
I have found one interesting thing,
I could see few devices on i2c bus 0 in uboot but same devices are available on i2c bus 4 in linux.
Following are the details:
Tegra210 (P2371-2180) # i2c dev 0
Setting bus to 0
Tegra210 (P2371-2180) # i2c probe
Valid chip addresses: 3C 68
Tegra210 (P2371-2180) #
ubuntu@tegra-ubuntu:~$ sudo i2cdetect -y -r 0
[sudo] password for ubuntu:
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – UU – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –
ubuntu@tegra-ubuntu:~$ sudo i2cdetect -y -r 4
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – UU – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – UU – – – – – – –
70: – – – – – – – –
ubuntu@tegra-ubuntu:~$
Could someone from Nvidia explain me how mapping is happening in kernel and uboot for i2c buses with proper addressing info for i2c buses???