board type:sabresd
want :
i want to move a new tp chip into linux kernel 3.0.5 by i2c2 control .when i can not read any information form my i2c device (tp), so i test imx6 i2c2 control scl(gpio), but i can not find any wave in the i2c control scl gpio by oscilloscope。at last i change the i2c-imx.c file function :static int __init i2c_imx_probe(struct platform_device *pdev)
and enable very i2c control clock ,but i realy can not find any wave in i2c control scl gpio by the oscilloscope.
thank you very for answer !
If you try a different I2C port you can see perfect the signals in the oscilloscope, have you try to modify the iomux-v3.c,
<ltib_dir>/rpm/BUILD/linux/arch/arm/mach-mx6
thank you very much for help ! the main question is that my i2c2 dev num is 2 in Schematics ,but in the kernel the i2c control num is 1.i change my i2c num ,so i can see the wave and connection my tp chip
Yes, kernel starts counting devices from 0.
The hardware port names on mx6 usually starts with 1.