I'm trying to get the i2c gpio driver working in order to communicate with my OV3620 cmos sensor. So far ISI works but i2c doesn't yet.
In order to talk to the OV3620 using i2c I took the tm13m3 driver and started modifying it. For now all micron tm13m3 specific i2c read/writes are disabled. The driver only initializes the reset / powerdown lines and advertises its slave address. The clock / data lines have been connected to PA7 and PA6.
The i2c-gpio driver and tm13m3 driver seem to load fine. For the i2c-gpio driver there are some entries in /sys/class/i2c-adapter/i2c-0. The tm13m3 also has some entries under /sys/bus/i2c/drivers. Further I see in dmesg that tm13m3 its attach_adapter is called when i2c-gpio is loaded and it attempts a probe. The function 'i2c_probe' returns 0 (success?). I also enabled debug messages in i2c-core but I don't see anything special happening there.
Does anyone have an idea on how to get i2c-gpio working? I forgot to mention I also registered some i2c_board_info for this device.