I am trying to add a new image sensor (no driver is available for this) to RPI 4B device tree. This image sensor has 2 interfaces - 1. I2C for control and config 2. MIPI for transferring image data. when I run i2cdetect -l , I get the following output:
Code: Select all
i2c-20 i2c fef04500.i2c I2C adapter
i2c-10 i2c i2c-22-mux (chan_id 1) I2C adapter
i2c-1 i2c bcm2835 (i2c@7e804000) I2C adapter
i2c-21 i2c fef09500.i2c I2C adapter
i2c-0 i2c i2c-22-mux (chan_id 0) I2C adapter
i2c-22 i2c bcm2835 (i2c@7e205000) I2C adapter
however, when I run i2cdetect -y 10 or i2cdetect -y 22, I get the following output:
Code: Select all
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- 21 -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- 36 -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
When I use i2c10 or i2c22, I get dterror: can't find symbol i2c10.
Code: Select all
fragment@0 {
target = <&i2c10>;